'forget' the recently added files

Joris Putcuyps joris.putcuyps at skynet.be
Thu May 25 17:51:14 BST 2006


Aaron Bentley wrote:
> Joris Putcuyps wrote:
>>> In the past I've used the revert, but, I think it was with an older
>>> version, this resulted in lost files ( bzr init, bzr add, oops.. wrong
>>> files, bzr revert, no more files :( )
> 
> That was changed in bzr 0.8, so it's now safe to do.
> 
>>> I don't know if it's with mercurial or another VCS which had the command
>>>  'forget' to undo the 'add'.
> 
> I think I'd prefer adding a --new option to 'remove', rather than adding
> a new command.
> 
> Aaron
I agree, another command is not that good. This '--new' option would
then imply using 'remove' without any files, which it now requires.

Joris




More information about the bazaar mailing list