[PLUGIN] bzr uncommit updated

John A Meinel john at arbash-meinel.com
Sun Sep 25 15:56:38 BST 2005


Aaron Bentley wrote:
> John A Meinel wrote:
> 
>>>My big use case for this is if you are downloading someone's bzr branch,
>>>but don't want to download the entire history (and you aren't sure when
>>>they branched from mainline). You can do:
>>>
>>>cp -ar bzr.dev bzr-other-branch
>>>cd bzr-other-branch
>>>bzr uncommit -r 500
>>>y<enter>
>>>bzr revert
>>>bzr pull <other branch location>
> 
> 
> This is getting silly.  Everyone's coming up with their own variations
> and passing this workaround along.  I was virtually hugged on IRC for
> providing my version to someone.  So let's really build it in.
> 
> I've updated branch to take a --basis parameter.  When that is provided,
> the texts, inventories and revisions from the basis revision are copied
> into the new branch's stores, and the only data we copy from the remote
> branch is the stuff we don't have.
> 
> http://panoramicfeedback.com/opensource/bzr.24
> 
> Aaron

This is nice to see. Though when I do it, I usually use hardlinks.
Probably once we are using weaves, the optimal workflow will change again.

But in general, I think having --basis is a nice method to do it.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050925/e2f32cf5/attachment.pgp 


More information about the bazaar mailing list