On 05/07/11 16:35, Brett Parker wrote:
- Branches are *not* tags (although svn treats them the same)
- tags *never* *move*, they are a snapshot of code at the time the snapshot is made
- you want to create a *branch* for v2. Though, I suspect that actually, you've currently got a trunk, and v2 is probably the main development line, so should be trunk, ergo, you actually want to create a v1 branch for legacy raisens.
Good point. Yes you're right: v2 will be trunk.
- svn is absolutely completely totally crap at merging at the best of times.
To be honest I think the idea of merging between branches is a nice-to-have rather than a must-have. In other words I wouldn't want to mess things up and close that door, but I'm not expecting to get much from it.
- v1.0.1 would be a tag from the v1 branch
Assuming I'm in the v1 directory and that has previously been switched to the v1 branch, so "svn commit" would update the v1 branch, etc.
Is there a way to create the tag v1.0.1 without using copy? What I'm looking for is a way to say "commit the current code as v1.0.1 off the current branch" without having to specify what the current branch is. Having to specify it seems much more error prone than saying "this one"!
Hope that clears the mindset. These days I use git, and this is really trivial in git :)
I would much prefer to be using git (which I have even less experience with) but the support for Windows users seemed to be lacking when I looked at it, and although I'm on Linux for everything these days that's not true of others I work with :-(