[PLUGIN] bzr uncommit updated

Aaron Bentley aaron.bentley at utoronto.ca
Sun Sep 25 06:11:40 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDNjGM0F+nu1YWqI0RAjAJAJ9OaVyiRfUSoFHe+PPO045e3ChnrgCfR/dW
RepyPtgcFRstpDuGVrL4bns=
=4QHy
-----END PGP SIGNATURE-----




More information about the bazaar mailing list