I use Assembla to manage my Subversion repository. I have started some major revisions to my codebase and want to create a Tag of my most recent production revision ( which I forgot to do when I pushed that rev live to production a few weeks ago ).
I'm currently on revision 588, and want to create a Tag of revision 577. How do I go about doing this from the command line using Subversion within Assembla?
Assume my Assembla SVN URL is: https://subversion.assembla.com/svn/my_assembla_svn_directory/
Best Answer
You can always use the
-r
parameter to refer to a specific revision. When doing so, you can also use the@rev
revision pinning to make sure you're referring to the layout of the Subversion revision at a particular revision. The following will create a tag from trunk on revision 577 and call this tagREV-1.2
:If you don't have a
trunk
,branches
, andtags
directories, you'll need to move your work in order to create some:Subversion doesn't implement tagging and branching except as a copy. This isn't unusual. Perforce implements branching in the same way. In fact, once you get use to it, it works out really well:
svn ls
on the right directory