software:subvesion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
software:subvesion [2019/12/07 14:08] – rodolico | software:subvesion [2019/12/07 15:18] – rodolico | ||
---|---|---|---|
Line 40: | Line 40: | ||
- 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. | ||
- | ===== Creating a " | + | ===== Creating |
+ | <code bash> | ||
+ | svn copy http:// | ||
+ | </ | ||
+ | OR | ||
+ | <code bash> | ||
+ | cd / | ||
+ | svn copy ^/trunk ^/tags/1.0 -m " | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Maintaining | ||
I've always been intrigued with people who use subversion with a tag that always points to the most recent stable version. Never figured out how they do it, but thanks to one of my associates, came up with this simple action when a new version has become your most recent stable version</ | I've always been intrigued with people who use subversion with a tag that always points to the most recent stable version. Never figured out how they do it, but thanks to one of my associates, came up with this simple action when a new version has become your most recent stable version</ | ||
Line 46: | Line 57: | ||
- Delete the old stable tag if it exists. Be sure and use recursion. | - Delete the old stable tag if it exists. Be sure and use recursion. | ||
- recreate the stable tag from the new version | - recreate the stable tag from the new version | ||
- | |||
- | the URL listed below is one of our projects | ||
<code bash> | <code bash> | ||
svn ls -v ^/tags | svn ls -v ^/tags | ||
- | svn delete http://svn.dailydata.net/svn/ | + | svn delete http://svn.example.com/project/ |
- | svn copy http://svn.dailydata.net/svn/ | + | svn copy http://svn.example.com/project/tags/v1.0 http://svn.example.com/project/ |
</ | </ | ||
Unfortunately, | Unfortunately, | ||
+ | |||
+ | ===== Links ===== | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
software/subvesion.txt · Last modified: 2020/07/10 22:37 by rodolico