Mention working tree in "bzr revert help"

Jelmer Vernooij jelmer at samba.org
Fri Feb 24 15:43:21 UTC 2012


  affects bzr
  status confirmed
  importance low
  tags +confusing-ui
  tags +revert

On Fri, Feb 24, 2012 at 04:32:08PM +0100, Voelker, Bernhard wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20120224/a9f2abb6/attachment.pgp>


More information about the bazaar mailing list