From: Chris Shoemaker <c.shoemaker@cox.net>
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, 7 May 2008 22:25:04 -0400 [thread overview]
Message-ID: <20080508022504.GA931@pe.Belkin> (raw)
In-Reply-To: <064B1E1A-9C5C-49A4-AD08-0397FE4C517E@midwinter.com>
On Wed, May 07, 2008 at 07:08:50PM -0700, Steven Grimm wrote:
> On May 7, 2008, at 6:58 PM, Chris Shoemaker wrote:
>> Second, what will happen when different developers have svn URLs with
>> different schemes, e.g. http vs. svn+ssh?
>
> That will cause the commit messages to be different, which means you won't
> have the same commit hashes, so this pretty much won't be useful. (You'd
> end up fetching the remote repo's entire svn history if you tried to do git
> fetch.)
Yes, indeed. But git fetching even the entire svn history is probably
often faster than git-svn fetching even one commit! I guess the
question is really, if I replace my remote tracking branch with
someone else's remote tracking branch, and it invalidates old map
entries, what breaks? Note, that even a slight difference in
svn.authorsfile would have the same effect.
> The assumption here is that you have exactly the same revision history in
> your tracking branches as the repo you're fetching from.
In that case, it would be helpful to enumerate exactly how two
developers can ensure that they are creating the same revision
history. At the very least, svn URL scheme and svnauthors file have
to be the same.
-chris
next prev parent reply other threads:[~2008-05-08 2:26 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
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 [this message]
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=20080508022504.GA931@pe.Belkin \
--to=c.shoemaker@cox.net \
--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).