Create svn tag from the command line
January 09, 2012 09:13:38 Last update: January 09, 2012 09:14:18
Unlike CVS, svn does not have a
The
tag command, you create a new tag with copy:
$ svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/tags/release-1.0 \
-m "Tagging the 1.0 release of the 'calc' project."
The
-r flag may be used to create a tag from an earlier revision:
-r [--revision] ARG : ARG (some commands also take ARG1:ARG2 range)
A revision argument can be one of:
NUMBER revision number
'{' DATE '}' revision at start of the date
'HEAD' latest in repository
'BASE' base rev of item's working copy
'COMMITTED' last commit at or before BASE
'PREV' revision just before COMMITTED