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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
software:subvesion [2019/12/07 15:02] rodolicosoftware:subvesion [2019/12/07 15:28] 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 65: Line 79:
  
 Unfortunately, I did not record the exact steps when I did this the last time, so this is pretty bogus. However, I'll be doing it again in the near future and will update this then. **Do Not blindly follow this.** It is some notes for me so I'll try to remember the next time I have to do it. Unfortunately, I did not record the exact steps when I did this the last time, so this is pretty bogus. However, I'll be doing it again in the near future and will update this then. **Do Not blindly follow this.** It is some notes for me so I'll try to remember the next time I have to do it.
 +
 +===== Links =====
 +  * [[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/en/1.6/svn.basic.in-action.html]]
  
software/subvesion.txt · Last modified: 2020/07/10 22:37 by rodolico