remove --all from bzr uncommit

John Arbash Meinel john at arbash-meinel.com
Tue Jan 10 15:38:40 GMT 2006


Aaron Bentley wrote:
> John Arbash Meinel wrote:
> 
>>>Aaron Bentley wrote:
>>>
>>>>Speaking of uncommit, it is verrry slowwwww when uncommitting a hundred
>>>>revisions, or so.  (Something I did recently, to find that .bzrignore
>>>>behaviour change.)
> 
> 
>>>Couldn't you have just annotated the code at that point? Or cracked open
>>>the weave in an editor?
> 
> 
> I am not man enough to read a weave by eye.  I did annotate the code,
> but at one point, it moved from tree.py to workingtree.py.  I had to
> uncommit revision 452 so that I could annotate tree.py, instead.
> 
> I suppose we could add a --revision parameter to annotate...
> 

Well, it depends on the weave. :) I understand the difficulty. Actually,
 while --revision might be useful, I think having a
'--include-deleted-lines' would also be helpful. So you can see what was
removed as well as what was added.

Sometimes you are trying to figure out who removed something, not who
added something, and a delete doesn't show up.

> 
>>>Actually, the issue is in the loop I was using to handle the '--all'
> 
> 
>>>Attached is a patch which cleans up the dead lines. If someone gives it
>>>a +1, I'll put it in my integration branch.
> 
> 
> +1
> 
> Aaron

Committed, revno=1500. Thanks,
John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060110/79d6fc1d/attachment.pgp 


More information about the bazaar mailing list