From: Colin D Bennett <colin@gibibit.com>
To: grub-devel@gnu.org
Subject: Re: How to synchronize local svn with official svn?
Date: Sat, 9 Aug 2008 20:38:12 -0700 [thread overview]
Message-ID: <20080809203812.4a91ca86@gibibit.com> (raw)
In-Reply-To: <81F75CB724D94C639091E84E81C41AAC@hp2003>
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
On Sun, 10 Aug 2008 09:42:39 +0800
"y.volta" <f22_storm@163.com> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2008-08-10 3:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <489DB869.36DEE3.07156@m12-70.163.com>
2008-08-10 1:42 ` How to synchronize local svn with official svn? y.volta
2008-08-10 2:44 ` David Fries
2008-08-10 3:38 ` Colin D Bennett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080809203812.4a91ca86@gibibit.com \
--to=colin@gibibit.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.