Re: git-svn bug?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Troy Telford
Date: Friday, November 17, 2006 - 2:17 pm

On Fri, 17 Nov 2006 01:55:10 -0700, Eric Wong <normalperson@yhbt.net>  
wrote:


I didn't remove anything, but I did double-check and the URL is correct.   
But the following may shed light on why there is no git-svn-id anywhere:   
IIRC, this is how my current repository came to be (from the very  
beginning):
1.)  Way back when, before I even started on the project, it started life  
as a CVS repository
2.)  Was converted from CVS -> SVN in early '05 (pre-git)
3.)  I converted from SVN->git in Nov/Dec '05 (using git-svnimport.  I'm  
not sure git-svn was available at the time.)
4.)  The svn repository is still around, and I need to interoperate with  
the svn repository on occasion.  I read about the new (at the time)  
'git-svn', and decided to give it a try.
5.)  I start with my pre-existing git repository, running:

   git svn init <url>
   git svn fetch
   git checkout -b master svn
   git rebase remotes/git-svn


I need to work on being more clear; sorry about that.  Here's what I did  
with my 'dummy' repository
1. create a new (empty) svn repository
2. imported it into a new git repository using git-svn
3. added a few files that were just sitting in $HOME, then modified them,  
removed some, added others, etc.  (using both git-svn and subversion)
4. verified everything was working as I expected it to.  (and if not,  
figure out why I was wrong).

My 'dummy' repo was imported using git-svn.
My 'real' repo was imported using git-svnimport.

Having not read any of the code, I'm just taking a wild guess; but is it  
reasonable to say that since the repository was originally imported to git  
using git-svnimport (rather than git-svn), git-svn doesn't have some of  
the data it needs to push to the remote svn repo?

Would it be reasonable to use git-svn to import the SVN repository into a  
new git repo, and then rebase from the old git-svnimport'ed repo into the  
new git-svn imported one?  (did that even make sense?!?)
-- 
Troy Telford
-
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 bug?, Troy Telford, (Wed Nov 15, 2:05 pm)
Re: git-svn bug?, Junio C Hamano, (Wed Nov 15, 2:43 pm)
Re: git-svn bug?, Seth Falcon, (Wed Nov 15, 3:33 pm)
Re: git-svn bug?, Shawn Pearce, (Wed Nov 15, 3:37 pm)
Re: git-svn bug?, Troy Telford, (Wed Nov 15, 3:55 pm)
Re: git-svn bug?, Troy Telford, (Wed Nov 15, 4:09 pm)
Re: git-svn bug?, Seth Falcon, (Thu Nov 16, 8:32 am)
Re: git-svn bug?, Eric Wong, (Fri Nov 17, 1:55 am)
Re: git-svn bug?, Troy Telford, (Fri Nov 17, 2:17 pm)
Re: git-svn bug?, Eric Wong, (Sun Nov 19, 9:52 am)