grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Personal branches in Bazaar repository


From: Colin Watson
Subject: Re: Personal branches in Bazaar repository
Date: Sat, 24 Oct 2009 15:31:30 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Oct 24, 2009 at 03:20:25PM +0200, Robert Millan wrote:
>   bzr branch sftp://address@hidden/srv/bzr/grub/trunk/
>   # hack
>   bzr commit
>   bzr push --remember sftp://address@hidden/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://address@hidden/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://address@hidden/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                                       address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]