git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Best practices for maintaining a subversion mirror?
@ 2008-11-24 10:55 Oliver Charles
  2008-11-24 15:37 ` Peter Harris
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Charles @ 2008-11-24 10:55 UTC (permalink / raw)
  To: git

Hi,

I just got myself a new server, and as I'm the major Git-using person
at my work, I'd like to set a mirror of our Subversion repository up
to hopefully convert a few more people. At the moment, I've done git
svn clone http://svn..., and then git clone --bare to make a --bare
version of this clone.

Now that I have this mirror, I have this entry in my crontab to update
it hourly:

0 * * * * cd /.git && /usr/bin/git --git-dir=. svn fetch &&
/usr/bin/git update-ref refs/heads/master refs/remotes/git-svn

This seems to be working nicely as a readonly interface, but when I
clone this repository (git clone git://foo/repo.git) - served via
git-daemon - I can't seem to get svn rebase to work on it, which means
I can't dcommit my changes back to Subversion.

Am I doing things generally the right way, or am I doing it completely
wrong? :-) Any tips appreciated!

- Oliver Charles

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-24 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 10:55 Best practices for maintaining a subversion mirror? Oliver Charles
2008-11-24 15:37 ` Peter Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).