login
Header Space

 
 

Re: git-svn segmetation fault

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Wink Saville <wink@...>
Cc: <git@...>
Date: Saturday, February 2, 2008 - 10:42 pm

On Sat, Feb 02, 2008 at 05:21:59PM -0800, Wink Saville wrote:

After adding the svn-remote section, you'll want to copy
.git/refs/remotes/origin/master to .git/refs/remotes/git-svn.  After
doing that, "git svn fetch" should see that you have all the needed
commits and do a quick rebuild of its metadata.


I've not done it, but it should be possible.  You would create the new
svn repository with a single empty commit (as empty as SVN would allow).
Import that revision into your git repository with git-svn.  Then you
would either rebase or use grafts to make all of your git commits a
descendent of that single svn commit.  In that way, the next time you
run "git svn dcommit" it will see all your local git commits as new
commits to send to subversion.

No guarantees though, as I've not tried it.
-- 
-Steven Walter <stevenrwalter@gmail.com>
Freedom is the freedom to say that 2 + 2 = 4
B2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F 
-
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 segmetation fault, Wink Saville, (Fri Feb 1, 6:32 pm)
Re: git-svn segmetation fault, Wink Saville, (Fri Feb 1, 8:50 pm)
Re: git-svn segmetation fault, Eric Wong, (Sat Feb 2, 12:06 am)
Re: git-svn segmetation fault, Wink Saville, (Sat Feb 2, 12:53 am)
Re: git-svn segmetation fault, Steven Walter, (Fri Feb 1, 11:42 pm)
Re: git-svn segmetation fault, Wink Saville, (Fri Feb 1, 11:55 pm)
Re: git-svn segmetation fault, Steven Walter, (Sat Feb 2, 12:03 pm)
Re: git-svn segmetation fault, Wink Saville, (Sat Feb 2, 2:56 pm)
Re: git-svn segmetation fault, Steven Walter, (Sat Feb 2, 5:03 pm)
Re: git-svn segmetation fault, Wink Saville, (Sat Feb 2, 9:21 pm)
Re: git-svn segmetation fault, Steven Walter, (Sat Feb 2, 10:42 pm)
Re: git-svn segmetation fault, Wink Saville, (Sun Feb 3, 5:42 pm)
speck-geostationary