Node:Scripts, Next:, Previous:Traditional, Up:Top



My CVS Scripts

These scripts reside at /global_tmp/bin on our developer servers at this time. It's likely that these will be moved to a more suitable location at some point (when that happens, I'll update this document).

Some of these scripts use the environmental variable SCRIPT_CVSROOT, so export this variable and set its value to the location of your CVS repository, for example :ext:nhqsnpr1:/cvs/cvsrepos. (I suggest that you set SCRIPT_CVSROOT to avoid any possible conflict with CVSROOT, but if you know what you are doing you can set CVSROOT instead).

Change in behavior. These is no longer a default CVSROOT, you must set and export the SCRIPT_CVSROOT (or CVSROOT) env variable.

Read the part in the Traditional VCS client section about ssh.

allmods directory1 directory2...
This is run against local CVS directory branches. It is basically a wrapper for cvs update that eliminates a lot of stuff that you will never want to see, and it formats the output by main directory branch. The arguments are top-level checked-out CVS modules. Most often, I use it from the main UNIX build directory like this.
              allmods *-ear *-ejb *-jar *-web [*-jop]
          


nontips [-r] TAG module1 module2...
Lists all files that have the specified tag, but which have been removed or modified since the tag was applied.

If you give the -r switch, it will also list all files which do not have the tag (this includes files added after you added the tag).

It is usually most convenient to use this command with module aliases, like

              nontips -r TAGNAME emt-all
          
This will list all differences between TAGNAME and the HEAD of all artifacts used to build EMT.


rmed PRE-TAG POST-TAG module1 module2...
Lists all files with the specified PRE-TAG but which don't have the specified POST-TAG. If the PRE-TAG and POST-TAG are tags for one release and some later release, the output list will contain those files which were in the earlier release but not in the latter release (i.e., these files were either removed or did not have the POST-TAG applied to them).

This is the command to use to see what's been removed between two tags. If you want to see what's been removed between a TAG and the HEAD, then use the nontips script (explained immediately above).

It is usually most convenient to use this command with module aliases, like

              rmed WAS_R2B WAS_R2C emt-all
          
This will list all EMT artifacts removed between WAS_R2B and WAS_R2C.