<p>For what you want, you really have to rewrite history. All of the intermediate commits specifically reference the "bad" version of the file. So you have to create a new history that doesn't. You can look into the bzr-rewrite plugin for help in doing it.</p>

<p>Though in our experience, just doing the revert+commit is easier and more relevant for people who might want to know what is going on. (Rewiring history means you have revisions that weren't actually what someone was using, etc.)</p>

<p>John<br>
=:-></p>
<div class="gmail_quote">On Apr 9, 2013 12:53 AM,  <<a href="mailto:ckalisiak@attotech.com">ckalisiak@attotech.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hello again,<br>
<br>
Thanks everyone for the help that has been provided in dealing with our<br>
branches. I have another question that I haven't been able to figure out an<br>
answer to. One of our branches has a problem with the commit of one of the<br>
files, a half-dozen revisions ago. No other changes to that file have been<br>
made, but now that we're performing a merge, it's giving us some grief.<br>
<br>
I'd like to be able to uncommit that particular file to the revision<br>
immediately prior to the last commit, to effectively forget that the commit<br>
of that particular file ever happened, while leaving the rest of the branch<br>
metadata intact.<br>
<br>
If I just simply revert and commit, the file will look correct, but<br>
obviously the metadata will still reflect the past commit.<br>
<br>
Is there a way to perform this operation?<br>
<br>
Thanks,<br>
Chris<br>
<br>
<br>
--<br>
Chris Kalisiak<br>
Senior Embedded Systems Engineer<br>
ATTO Technology, Inc.<br>
Phone:  <a href="tel:%2B1.716.691.1999%20ext.%20274" value="+17166911999">+1.716.691.1999 ext. 274</a><br>
Fax <a href="tel:%2B1.716.691.9353" value="+17166919353">+1.716.691.9353</a><br>
"Powering the World's Networks & Storage"<br>
<br>
<br>
</blockquote></div>