Uncommit a single file?

ckalisiak at attotech.com ckalisiak at attotech.com
Mon Apr 8 21:52:07 UTC 2013

Hello again,

Thanks everyone for the help that has been provided in dealing with our
branches. I have another question that I haven't been able to figure out an
answer to. One of our branches has a problem with the commit of one of the
files, a half-dozen revisions ago. No other changes to that file have been
made, but now that we're performing a merge, it's giving us some grief.

I'd like to be able to uncommit that particular file to the revision
immediately prior to the last commit, to effectively forget that the commit
of that particular file ever happened, while leaving the rest of the branch
metadata intact.

If I just simply revert and commit, the file will look correct, but
obviously the metadata will still reflect the past commit.

Is there a way to perform this operation?


Chris Kalisiak
Senior Embedded Systems Engineer
ATTO Technology, Inc.
Phone:  +1.716.691.1999 ext. 274
Fax +1.716.691.9353
"Powering the World's Networks & Storage"

More information about the bazaar mailing list