Re: git-svn: how to connect SVN branches?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <dherring@...>
Cc: <git@...>
Date: Thursday, January 17, 2008 - 6:04 pm

dherring@ll.mit.edu wrote:

git-svn doesn't yet support arbitrary mapping of paths like that.  You
need to add a separate git-svn remote, and you might have to graft to
get it started - see below.


That's unfortunate.  There are many things that git-svn does to try to
avoid this happening.  You can fix it using the .git/info/grafts
facility - check the Documentation/ for information on that.  Once
you've got it looking right, git filter-branch can be used to make it
permanent, though you should certainly delete the git-svn metadata after
using that.


You basically have to fool git-svn by making commits in the history
which have the git-svn-ids that you want.  This can be done without
changing the "real" history as above, using grafts.

Good luck,
Sam.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn: how to connect SVN branches?, , (Thu Jan 17, 4:17 pm)
Re: git-svn: how to connect SVN branches?, Gregory Jefferis, (Thu Jan 17, 7:42 pm)
Re: git-svn: how to connect SVN branches?, Sam Vilain, (Thu Jan 17, 6:04 pm)