2

I have checked out a directory, modified some files and checked in the directory Is there a way to revert back the checked in directory and start with original directory

Thanks in advance.

John
  • 2,035
  • 13
  • 35
  • 44

2 Answers2

0

Never delete a version, this is way too dangerous (in that it removes all metadata, and hyperlinks attached to it).

Do a subtractive merge, in order to cancel the contributions recorded in your last directory version.

See in IBM the articles "To remove contributions of some versions".
You can see an example of a cleartool merge -delete in "Undo remove file in ClearCase"

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
-1

You may try to delete the version. In the version tree, right-click the bubble of the current version and choose "delete". The version tree will automatically refresh and fail to do so, because the version it tries to display does not exist anymore. After an update you should see the old version.

If you have edited multiple files, you will have to do this for each file. I haven't found a way to do this by command line, but then again I haven't looked thoroughly ;)

SvenS
  • 795
  • 7
  • 15