grub-devel
[Top][All Lists]
Advanced

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

Re: How to synchronize local svn with official svn?


From: Colin D Bennett
Subject: Re: How to synchronize local svn with official svn?
Date: Sat, 9 Aug 2008 20:38:12 -0700

On Sun, 10 Aug 2008 09:42:39 +0800
"y.volta" <address@hidden> wrote:

> hi all,
> 
>     I have a question about using svn: how can i synchronize the
> local copy with the local svn and official svn? for examle:
> 
>     1. i checkout the official grub2 from SA
> (svn://svn.sv.gnu.org/grub/trunk/grub2) to LD (/home/grub2);
> 
>     2. and then, i create a local site to host the grub2 - SB ( i.e.
> svn://local/grub2 ), 
>     now, i can 'Relocate' LD's url to SB, and 'Update' LD to SB.
> here, i get a local svn copy, and can do anythings but the
> synchronization from SA.
> 
>     so, how to synchronize local svn with official svn? any
> suggestion?
> 
> Y.Volta

Well, I'm not sure since you are kind of creating a local mirror, it
sounds like... and Subversion is not a distributed version control
system.  However, if you want to have full distributed VCS features,
you can do what I do and use the Bazaar VCS (bzr) with the 'bzr-svn'
plugin, which allows seamless access to svn branches as if they
were bzr branches.  And then you can use bzr (which is a DVCS like git
or hg) to make local branches and merge changes back and forth between
your branch and the bzr-svn branch which is the upstream GRUB.
It's really easy, all I had to do was install bzr, the bzr-svn plugin,
and then do:

  bzr branch svn://svn.savannah.gnu.org/grub/trunk/grub2

and that created a local 'grub2' branch with full history from the svn
branch.  (This takes quite a while the first time.  But bzr-svn caches
all the history data in ~/.bazaar/svn-cache so it only has to do the
full download once.

Anyway, that's one solution that works great if you want distributed
version control features.  Otherwise, I'll let someone with more recent
svn experience help you (I haven't used svn myself for the past 2 years
since I discovered bzr...).

Regards,
Colin

Attachment: signature.asc
Description: PGP signature


reply via email to

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