clearcase

why I only get a clearcase version 0?


Normally, the first committed version should start from 1. Version 0 is identical with branch point. But now I got a only version 0, and this prevent me to checkin any other version coz it warned me that the branch already created.


Solution

  • As explained in "Before adding files and directories to source control", the version 0 is a placeholder marking the start for all versions in a given branch:

    enter image description here

    You can end up with only the version 0 when you undo-checkout a file you just checked out in a new branch (in that case, only a version 0 for the newly created branch remains).

    Regarding branches, you can have error like "element already has a branch of type branch", but only when there is an issue with the server and client time (clock) being not in sync.