From: Junio C Hamano <gitster@pobox.com>
To: Steven Grimm <koreth@midwinter.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Teach git-svn how to catch up with its tracking branches
Date: Wed, 07 May 2008 18:55:28 -0700 [thread overview]
Message-ID: <7v63tpd0fj.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <20080508013956.GA24956@midwinter.com> (Steven Grimm's message of "Wed, 7 May 2008 18:39:56 -0700")
Steven Grimm <koreth@midwinter.com> writes:
> In environments where a lot of people are sharing an svn repository using
> git-svn, everyone has identical, but individually maintained, tracking
> branches. If the svn repository is very active, it can take a while to
> run "git svn fetch" (which has to individually construct each revision
> by querying the svn server). It's much faster to run "git fetch" against
> another git-svn repository to grab the exact same git revisions you'd get
> from "git svn fetch". But until now, git-svn was confused by this because
> it didn't know how to incrementally rebuild its map of revision IDs.
> The only choice was to completely remove the map file and rebuild it
> from scratch, possibly a lengthy operation when there's a lot of history.
>
> With this change, git-svn will try to do an incremental update of its
> revision map if it sees that its tracking branch has svn revisions that
> aren't in the map yet.
Being able to have a shared git-svn managed git repository that mirrors
svn is something people have asked often enough, but the recommended
practice has always been for each to have his own copy.
Although I do not use git-svn heavily myself, I like this addition. We
would probably want to update the in-tree doc to cover a recommended
pattern of interacting multiple git repositories with a single svn
repository on the other side?
next prev parent reply other threads:[~2008-05-08 1:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 1:39 [PATCH] Teach git-svn how to catch up with its tracking branches Steven Grimm
2008-05-08 1:55 ` Junio C Hamano [this message]
2008-05-08 2:17 ` Steven Grimm
2008-05-08 1:58 ` Chris Shoemaker
2008-05-08 2:08 ` Steven Grimm
2008-05-08 2:25 ` Chris Shoemaker
2008-05-08 7:38 ` Karl Hasselström
2008-05-08 7:43 ` Karl Hasselström
2008-05-08 7:58 ` Steven Grimm
2008-05-08 8:13 ` Karl Hasselström
2008-05-08 4:19 ` [PATCH v2] " Steven Grimm
2008-05-11 8:27 ` Eric Wong
2008-05-08 6:48 ` [PATCH] " Asheesh Laroia
2008-05-08 7:33 ` Steven Grimm
2008-05-08 7:48 ` Chris Shoemaker
2008-05-08 8:21 ` Chris Shoemaker
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=7v63tpd0fj.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=koreth@midwinter.com \
/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 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).