removing commited file permanently

David Cournapeau david at ar.media.kyoto-u.ac.jp
Tue Oct 28 04:55:53 GMT 2008


Colin D Bennett wrote:
>
> I know you could use the bzr-rebase plugin to rebuild your repository,
> excluding the revision that added that file, but this is *extremely*
> undesirable in most cases.

Why ? Specifically, in this case, I don't see any way around it: you
remove a file, it is a desirable feature that every revision is changed,
no ?

>
> You could use the 'uncommit' command to uncommit only the revision that
> added that file and all later revisions, then (if you committed
> revisions after that one) you would have to re-commit those revisions,
> but they would become "new" revisions and this would cause problems if
> you've merged those changes to other branches.

Which has exactly the same drawback than rebase without the advantage, no ?

cheers,

David



More information about the bazaar mailing list