The chref command registers with AccuRev the fact that a
reference tree has changed location. However,
chref does not physically move the contents of the reference tree. Before using
chref, you must move the reference tree yourself, using operating system commands such as
tar (UNIX/Linux) or
xcopy (Windows).
You can also use chref to change the name of a reference tree. You can subsequently create a new reference tree with the original name, or rename an existing reference tree to the original name. AccuRev will consider the two reference trees to be distinct, even though they’ve shared the same name (at different times). See
Entity Names for information on naming reference trees.
Specify the line terminator to be used when an AccuRev command (e.g. update,
co) copies a version of a text file from depot storage to the reference tree. (In depot storage, all text files are stored with the AccuRev-standard line terminator,
NL.) The <
eol-type> can be
d (default: use the standard line terminator for the client machine’s operating system),
u (use the UNIX/Linux line terminator,
NL), or
w (use the Windows line terminator,
CR-NL).
After moving the contents of reference tree amber_1.3.2 to a network storage area accessed on your machine as
/net/bigdisk/reftree/amber132, register the new reference tree location: