How to Sync a sandbox using Command Line Interface (SCM)
![]()
I figured this out the hard way after many trials and finding out that the documented and the online help for SCM commands are not very accurate!
If for some reason your sandbox is out of sync with the repository workspace (maybe you deleted or modified a file/folder by mistake) or progamatically you want to check and make sure your sandbox is insync without reloading everything then use the "load" command with the option --force (-f). Although the option is missleading it will not reload everything only the missing or changed files. Looking at the SCM online help you woudl have thought that "Repair" would have been the right choice: "The scm repair subcommand repairs a sandbox that has become corrupted |
4 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Feb 14 '12, 3:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
could you please file a defect against documentation? |
![]() Hi, Hi, Defect 197097 is filed. |
![]()
I found this https://jazz.net/wiki/bin/view/Main/SCMCommandLineTutorial useful but misleading as it explains command options that do not exist!
For example: scm checkin I could not get any of the --message or --change-set options mentioned above to work! |
![]() I found this https://jazz.net/wiki/bin/view/Main/SCMCommandLineTutorial useful but misleading as it explains command options that do not exist! scm checkin I could not get any of the --message or --change-set options mentioned above to work! Defect 197106 filed! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.