Pushing to a branch with empty working tree gives error

David Allouche david at allouche.net
Tue Sep 5 21:13:36 BST 2006


Robert Widhopf-Fenk wrote:
> On Thursday, August 24, 2006 at 18:47:29, John Arbash Meinel wrote:
> [...]
> 
>>> I removed .bzr/checkout by hand, but that seems like there
>>> should be a command to nuke the working tree of a branch, a
>>> command I must have missed so far.
>> No. We've discussed adding an explicit command for it. But:
>>
>> a) Not 100% sure what it should be called (uncheckout,
>>    remove-checkout, ???)
> 
> bzrtools has "zap", but it does not work on "heavy" checkouts.
> 
> "uncheckout" sounds good, similar to "unbind", "uncommit"
> ... I think I would have found it instantly.

That would be nice, but it would also be useful to be able to "bzr push
--no-workingtree".

That would also be useful to help people recover from incomplete initial
push to Launchpad.

https://launchpad.net/products/launchpad-bazaar/+bug/53340

Before that bug is fixed (or bug 45504 or bug 30576), one way to recover
would be:

 * delete the broken .bzr on the launchpad sftp
 * do "bzr push --no-workingtree" locally
 * copy the bzr in the produced branch to the launchpad sftp

That would save the need for .bzr surgery to remove the .bzr/checkout.
-- 
                                                            -- ddaa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060905/35a68e74/attachment.pgp 


More information about the bazaar mailing list