checksync
This kandoMaintain command verifies that the latest branch-stream synchronization for the specified branch is correct. For the latest
shamap
entry for the specified branch-stream mapping,
checksync returns the sha, stream as string, transaction, timestamp, and operation fields, and identifies any discrepancies between:
- The current branch sha and that shamap entry.
- The current stream high water mark (HWM, which is based on the transaction number of the last change made to the content of an AccuRev stream) and that sha map entry.
Tip: Use the --diff option to compare the contents of each directory, file, and link on Git and AccuRev.
Syntax
kandoMaintain checksync -r <repository_path> -b <branch>
Options
The following table lists the options for this command.
-Fc <path> |
The path to a text file (such as <gc_home>/dbsettings.conf) containing values for three of the parameters used by kandoMaintain. The contents of this file should include:
For example: DB_USER=postgres DB_PASS=postgres DB_CONNECT =dbc:postgresql://localhost:5075/kando |
-r <repository_path> |
The path to the GitCentric repository. For mvrepos, the path to the repository to which the command should move existing repositories after an upgrade installation. For checksync, the path to the repository whose synchronization status you are checking. |
-b <branch> |
The name of the branch in the GitCentric repository whose synchronization status you are checking with the checksync command. |
--diff |
For checksync, compares each directory, file, and link between the Git branch and AccuRev stream whose synchronization status you are checking and reports any discrepancies. |
Note: The settings and the values accepted by this configuration file can change without notice from release to release.
See also: