Bazaar completely lost files by "revert"

Voelker, Bernhard bernhard.voelker at
Fri Feb 24 15:32:08 UTC 2012

Jelmer Vernooij wrote:
> On 02/24/2012 04:11 PM, Artur Rataj wrote:
> > Hello. I have reverted some files, not supposing that Bazaar can 
> > completely lost the newer versions by one inadvertent command.
> Were these files actually modified in your working tree, or were they 
> just at the current tip revision ?
> Note that "bzr revert" only changes the contents of the working tree to 
> revision -2, it doesn't change the branch history in any way.

It would be nice if `bzr revert --help` would tell a word that it
only affetcs the working tree.

  Giving a list of files will revert only those files.  Otherwise, all files
  will be reverted.  If the revision is not specified with '--revision', the
  last committed revision is used.

Describing the command "revert" with "it reverts ... files" is
maybe not clear enough.

Have a nice day,

More information about the bazaar mailing list