* Personal branches in Bazaar repository
@ 2009-10-24 13:20 Robert Millan
2009-10-24 14:31 ` Colin Watson
0 siblings, 1 reply; 2+ messages in thread
From: Robert Millan @ 2009-10-24 13:20 UTC (permalink / raw)
To: grub-devel
Now that I have a bit more time, I explain about my own GRUB branches. They
live in:
http://bzr.savannah.gnu.org/r/grub/people/robertmh
and consist of a few pieces of unfinished work I used to have scattered around
my filesystem.
If others find it convenient to host their own branches at Savannah, they
may do that with e.g.
username=foo
bzr branch sftp://${username}@bzr.savannah.gnu.org/srv/bzr/grub/trunk/
# hack
bzr commit
bzr push --remember sftp://${username}@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://${username}@bzr.savannah.gnu.org/srv/bzr/grub/people/${username}
and work basically the same as they would in Subversion.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Personal branches in Bazaar repository
2009-10-24 13:20 Personal branches in Bazaar repository Robert Millan
@ 2009-10-24 14:31 ` Colin Watson
0 siblings, 0 replies; 2+ messages in thread
From: Colin Watson @ 2009-10-24 14:31 UTC (permalink / raw)
To: The development of GRUB 2
On Sat, Oct 24, 2009 at 03:20:25PM +0200, Robert Millan wrote:
> bzr branch sftp://${username}@bzr.savannah.gnu.org/srv/bzr/grub/trunk/
> # hack
> bzr commit
> bzr push --remember sftp://${username}@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://${username}@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://${username}@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 [cjwatson@ubuntu.com]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-24 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24 13:20 Personal branches in Bazaar repository Robert Millan
2009-10-24 14:31 ` Colin Watson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.