User Tools

Site Tools


software:subvesion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
software:subvesion [2019/12/07 15:18]
rodolico
software:subvesion [2019/12/07 15:28] (current)
rodolico
Line 39: Line 39:
   - check out the project again, but with the url/trunk   - check out the project again, but with the url/trunk
   - Always work in trunk, unless you're working on a branch. tags is for when you want to create a check point.   - Always work in trunk, unless you're working on a branch. tags is for when you want to create a check point.
 +
 +===== Using the Caret (^) =====
 +
 +As of Subversion 1.6, from a working copy, you can use the caret (^) as a substitute for the root URL of the project. Thus, if your you are in your working copy someplace, the following are equivilent. Note that even if you only checked out trunk, the tags are still accessible since it is the URL that is substituted for the caret. This can greatly reduce typing.
 +
 +<​code>​
 +http://​svn.example.com/​project/​trunk/​subdir1
 +^/​trunk/​subdir1
 +</​code>​
 +<​code>​
 +http://​svn.example.com/​project/​tags/​v1.5.0
 +^/​tags/​v1.5.0
 +</​code>​
 +
  
 ===== Creating a tag ===== ===== Creating a tag =====
Line 69: Line 83:
   * [[https://​stackoverflow.com/​questions/​851377/​how-to-properly-create-an-svn-tag-from-trunk]]   * [[https://​stackoverflow.com/​questions/​851377/​how-to-properly-create-an-svn-tag-from-trunk]]
   * [[http://​svnbook.red-bean.com/​nightly/​en/​svn.branchmerge.tags.html]]   * [[http://​svnbook.red-bean.com/​nightly/​en/​svn.branchmerge.tags.html]]
 +  * [[http://​svnbook.red-bean.com/​en/​1.6/​svn.basic.in-action.html]]
  
software/subvesion.txt ยท Last modified: 2019/12/07 15:28 by rodolico