Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 Cancel Version will remove more versions than asked

1.132
closed-fixed
Alex Harsanyi
9
2007-12-12
2007-12-12
Alex Harsanyi
No

The vc-cancel-version (bound to C-x v c) for the ClearCase backend will remove an extra version. This will happen if both conditions below are met:

* The variable clearcase-rmbranch-on-revert-flag is set to t
* The version to be canceled is the second version on the branch (e.g /main/some_branch/2)

In this case, vc-clearcase-cancel-version will delete the selected version (/main/some_branch/2 in our example), than it will also delete the branch (/main/some_branch in our example) and the /main/some_branch/1 revision will be lost too.

This happens because `clearcase-maybe-set-vc-state' is called before the check to remove the branch.

Discussion

  • Alex Harsanyi
    Alex Harsanyi
    2007-12-12

    • assigned_to: nobody --> haral
    • status: open --> open-accepted
     
  • Alex Harsanyi
    Alex Harsanyi
    2007-12-12

    Logged In: YES
    user_id=158922
    Originator: YES

    This is fixed in release 1.139

     
  • Alex Harsanyi
    Alex Harsanyi
    2007-12-12

    • status: open-accepted --> closed-fixed