On Sat, Oct 24, 2009 at 03:20:25PM +0200, Robert Millan wrote:
>   bzr branch sftp://${userna...@bzr.savannah.gnu.org/srv/bzr/grub/trunk/
>   # hack
>   bzr commit
>   bzr push --remember 
> sftp://${userna...@bzr.savannah.gnu.org/srv/bzr/grub/people/${username}
> 
> If they prefer a Subversion-like workflow (i.e. commit implies push), they can
> checkout the branch afterwards:
> 
>   bzr checkout 
> sftp://${userna...@bzr.savannah.gnu.org/srv/bzr/grub/people/${username}
> 
> and work basically the same as they would in Subversion.

Just another detail which may be useful: if you've done the former
(branch, push) and want to convert it into the latter (checkout) without
having to fetch the branch again from scratch, then you can do this:

  bzr bind :push

This converts the local branch into a checkout of the remembered push
location.


I would also generally recommend using bzr+ssh:// rather than sftp://
URLs. sftp:// involves copying all the metadata back and forward for a
number of operations. bzr+ssh:// runs a smart server on the remote
system and interacts with that, which is generally much faster. If you
do this, you'll need to drop /srv/bzr from the URL as well, so:

  bzr branch bzr+ssh://${userna...@bzr.sv.gnu.org/grub/trunk


Although I'm not a Bazaar developer myself, I have a lot of experience
with using it, and am happy to offer assistance to any GRUB developers
who may run into problems.

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to