[PATCH] checkout --help
John Arbash Meinel
john at arbash-meinel.com
Sat May 6 18:27:27 BST 2006
Robey Pointer wrote:
> On 5 May 2006, at 20:57, John Arbash Meinel wrote:
>> Robey Pointer wrote:
>>> Just noticed this today: Doing 'bzr checkout --help' still documents a
>>> '--basis' option which is not accepted and wouldn't do anything even if
>>> it was. Attached patch removes the documentation lines and comment.
>> Rather than removing the option, we could actually re-activate the
>> functionality. 'bzr branch' supports --basis, and checkout is very
>> similar to 'bzr branch'. It does a few things differently (creates a
>> branch, and then does 'bind' which does a pull, versus doing 'sprout').
>> But honestly, we could do a standard sprout, and then do the bind.
>> If someone knows how to use --basis, it seems like a decent performance
>> improvement to not have to copy everything from the remote location.
> We could resurrect it post-0.8 -- the help text will always be in the
> branch history. ;) It's just a little confusing to see it now when the
> --basis option doesn't actually exist.
I'm fine with handling it either way. I don't know if people use --basis
a lot. I generally don't, but mostly because I always used "bzr branch
local newlocal; cd newlocal; bzr pull --overwrite --remember remote".
Now with repositories it is even less important.
Because either I already have a copy of the remote files which will be
re-used. Or I need to get everything anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060506/8c4a9b12/attachment.pgp
More information about the bazaar