Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
Options:
  \-h, \--help            show this help message and exit
  \-p PARENT, \--parent=PARENT
                        HEAD or (branched) release tag to act as base
  \-n NEWTAG, \--new=NEWTAG
                        HEAD or specific tag to create
  \-u UPGRADEFILE, \--upgrade_list=UPGRADEFILE
                        File listing packages to upgrade, tags \[default:
                        upgrade.txt\]
  \-r FORREAL, \--for_real=FORREAL
                        Really do it or just print what we \*would\* do
                        \[default: False\]
  \-v VERBOSE, \--verbose=VERBOSE
                        Show all cvs command output if true \[default: False\]

In this version PARENT can only be HEAD.

Here is a sample upgrade file:

No Format
\#a comment
//  another sort of comment

   u   facilities facilities-02-19-02

   a   xmlUtil xmlUtil-03-04-01

and here is output from when it was used

No Format

$ python tagCtn.py ScienceTools \--new=HEAD
tagCtn  was invoked with argument  ScienceTools  and options
parent= HEAD
new= HEAD
upgrade_list= upgrade.txt
for_real= False
verbose= False
 
about to issue command
cvs rlog \-b ScienceTools-scons/SConstruct
lastHeadTag is:  ScienceTools-HEAD-1-823
 
about to issue command
cvs rtag \-r ScienceTools-HEAD-1-823 ScienceTools-tmphead824 ScienceTools-scons
Just fooling; it wasn't for real
 
about to issue command
cvs rtag \-d ScienceTools-tmphead824 facilities
Just fooling; it wasn't for real
 
about to issue command
cvs rtag \-r facilities-02-19-02 ScienceTools-tmphead824 facilities
Just fooling; it wasn't for real
 
about to issue command
cvs rtag \-r xmlUtil-03-04-01 ScienceTools-tmphead824 xmlUtil
Just fooling; it wasn't for real
 
about to issue command
cvs rtag \-r ScienceTools-tmphead824 HEAD-1-824 ScienceTools-scons
Just fooling; it wasn't for real
 
about to issue command
cvs rtag \-d ScienceTools-tmphead824 ScienceTools-scons
Just fooling; it wasn't for real