Reputation: 189906
I need to tag the current state of my source tree in svn. My problem is I don't care what the name is, I just need to mark the current revision in an immutable* manner. (*subject to malicious behavior)
What's the best way to do this?
branches/
tags/
???
trunk/
should ??? be the date, an incrementing sequence, the repository rev # ...?
Upvotes: 0
Views: 79
Reputation: 745
Use the revision number, is by definition inmutable. You can use the revision number in the usual svn commands to access the repository in a particular point in time.
For example, to get revision: svn co http://my.svn/project1/trunk@1024
Upvotes: 0
Reputation: 49301
I would use a combination of date and the svn revision number. Its immutable and will allow you to easily find newer commits. You could also put the date in the tag if desired.
Upvotes: 1