On Sat, Oct 24, 2009 at 03:20:25PM +0200, Robert Millan wrote:
> bzr branch sftp://${[email protected]/srv/bzr/grub/trunk/
> # hack
> bzr commit
> bzr push --remember
> sftp://${[email protected]/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://${[email protected]/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://${[email protected]/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 [[email protected]]
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel