alias filenames -v alias [-V version]
Allows you to refer to a given version number in the log file for the files specified by filenames by another name, alias. This alias is used with other MVC commands to refer to that version. If you do not specify -V version, the current version is assumed. Valid aliases must satisfy the following conditions:
For example, if version 5.3 is a working version, enter:
alias fly.c -v goodone -V 5.3
where the word goodone becomes the alias for version 5.3. Later, you can use goodone to specify the version number in any command which takes a version number as an argument. For example:
get fly.c -v goodone
This command is extremely useful for making a whole set of source files. For instance, if you are ready to release a product and want to mark all the current sources as release, make sure all source files are checked in and then do the following:
alias [list of source files] -v release
Then you can continue working on the product, making changes and creating new versions. If you ever need to return to the sources for the release version, you can use the following:
get [list of source files] -v release
Another way to accomplish the same goal is to specify the date of the release:
get [list of files] -d date
Remembering an alias is easier than remembering a date. If you find that you need to change the alias (for example, if a new release is going to replace the old one), you can use the unalias command to remove the old alias, then use the alias command again to create the new alias.