accurev unarchive [ -E <element-type(s)> ] [ -i ]
[ -s <stream> ] [ -t <transaction-range> ]
[ -R ] { [ -Fx ] -l <list-file> | <element-list> }accurev unarchive -a { [ -Fx ] -l <list-file> | <element-list> }The unarchive command restores to a depot’s file storage area one or more version container files that were previously archived. The container files shift from archived status to normal status. The container files are moved from the depot’s gateway area back to their original locations in the depot’s file storage area.
• To restore the versions that were archived by one particular invocation of archive, use command-line options that match the options specified in the original archive command. (But don’t include any comment specified in the original command with -c.) For example:
• To restore all archived versions of a particular set of elements, use the -a option. For example:Restrict the unarchive operation to elements of one or more element-types: text, binary, and/or ptext. To specify multiple types, use a comma-separated list (default: all specifies all element types). Examples:If you use this option, you must identify the elements to be processed using depot-relative pathnames.The second form specifies a range of transactions; the optional suffix truncates the listing after the most recent <count> transactions. You may need to use quotes in composing the argument following -t; the entire argument must be interpreted by the command shell as a single token. You cannot use the now or highest keyword in the interval specification.For the unarchive command, a transaction can be represented in the following ways:
• Time keyword: now
•
• Transaction number keyword: highest-l <list-file>Process the elements listed in <list-file>. This must be a text file, with one element name per line. Extra whitespace is not allowed; make sure there are no empty lines and no leading or trailing white space around the filenames. Wildcards are not expanded. There is no provision for comment lines in the file.If you use this option, any <element-list> specified is silently ignored.One or more element names, separated by whitespace. If you also specify a <list-file> using the –l option, this <element-list> is silently ignored.Archiving of Version Container Files of the AccuRev Administrator’s Guide.
Micro Focus |