CCRC checkin with checked out and hijacked files

2019-06-05 04:19发布

问题:

I'm trying to commit a number of files

rcleartool.bat ci file1.cxx file2.cxx

only file1.cxx is checkedout file2.cxx is hijacked

This commit checks in file1.cxx but leave file2 unchecked in giving me a warning

Is there a way to say "check in all files, including the hijacked ones I supply on the command line" or do I have to go through all the hijacked files, check them out and immediately check them back in?

Many thanks in advance

回答1:

Since the cleartool checkin command does not mention hijacked files, you would need two passes:

  • one for converting hijacked files in checkout files with checkout -usehijack
  • one for checking, which will does nothing for the hijacked files,