threads / discuss / 12512

git-svn and logging.. new to git

Subject: git-svn and logging.. new to git

## tl;dr

5 messages between Mar 5, 2008 and Mar 5, 2008.

replies: 4people: 3as markdown or json

Kenneth P. Turvey· Mar 5, 2008, 09:22 UTC · lore

I'm in the process of moving to git from subversion and I've run into something I just don't understand. I've moved one project from subversion using git-svnimport and that went successfully. Unfortunately the latest git doesn't include svnimport so I'm trying to do the same thing with git-svn. It seems to have worked without any problem, but when I do "git log" I don't see all the entries I see when I do "svn log" on the same project in subversion. So, now I have to ask myself, "have I lost changes in the import?"

The command I used to import the source code is:
 git-svn clone file:///home/kt/oldsvn/Personal/Projects/Journal \
 --trunk=trunk --branches=branches --tags=tags

Am I doing something wrong here? Do I need additional options on the git-log command?

Any explanation or assistance would be greatly appreciated.  
Thanks.
David Symonds· Mar 5, 2008, 12:01 UTC · re: Kenneth P. Turvey · lore

Re: git-svn and logging.. new to git

On Wed, Mar 5, 2008 at 8:22 PM, Kenneth P. Turvey <kt-usenet@squeakydolphin.com> wrote:

Show 13 quoted lines
> I'm in the process of moving to git from subversion and I've run into
>  something I just don't understand.  I've moved one project from subversion
>  using git-svnimport and that went successfully.  Unfortunately the latest
>  git doesn't include svnimport so I'm trying to do the same thing with
>  git-svn.  It seems to have worked without any problem, but when I do "git
>  log"  I don't see all the entries I see when I do "svn log" on the same
>  project in subversion.  So, now I have to ask myself, "have I lost changes
>  in the import?"
>
>  The command I used to import the source code is:
>
>   git-svn clone file:///home/kt/oldsvn/Personal/Projects/Journal \
>   --trunk=trunk --branches=branches --tags=tags

git-svn creates a whole bunch of remote branches -- does "git branch -a" show them up?

Also, you can probably leave out the --trunk, etc., and just use --stdlayout.
Dave.
Kenneth P. Turvey· Mar 5, 2008, 16:03 UTC · re: David Symonds · lore

Re: git-svn and logging.. new to git

On Wed, 05 Mar 2008 23:01:34 +1100, David Symonds wrote:
Show 5 quoted lines
> git-svn creates a whole bunch of remote branches -- does "git branch
> -a" show them up?
> 
> Also, you can probably leave out the --trunk, etc., and just use
> --stdlayout.

Thanks. That's good information to have. Is there a way to just do a straight import like in svnimport? Is svnimport still available somewhere or has it been completely superseded by git-svn?

-- 
Kenneth P. Turvey <kt-usenet@squeakydolphin.com>
David Symonds· Mar 5, 2008, 20:37 UTC · re: Kenneth P. Turvey · lore

Re: git-svn and logging.. new to git

On Thu, Mar 6, 2008 at 3:03 AM, Kenneth P. Turvey <kt-usenet@squeakydolphin.com> wrote:

Show 14 quoted lines
> On Wed, 05 Mar 2008 23:01:34 +1100, David Symonds wrote:
>
>
>  > git-svn creates a whole bunch of remote branches -- does "git branch
>  > -a" show them up?
>  >
>  > Also, you can probably leave out the --trunk, etc., and just use
>  > --stdlayout.
>
>
>
> Thanks.  That's good information to have.  Is there a way to just do a
>  straight import like in svnimport?  Is svnimport still available
>  somewhere or has it been completely superseded by git-svn?

I believe git-svn completely replaces svnimport. Check the git-svn manpage, which is quite extensive.

Dave.
Jakub Narebski· Mar 5, 2008, 21:02 UTC · re: David Symonds · lore

Re: git-svn and logging.. new to git

"David Symonds" <dsymonds@gmail.com> writes:
Show 19 quoted lines
> On Thu, Mar 6, 2008 at 3:03 AM, Kenneth P. Turvey
> <kt-usenet@squeakydolphin.com> wrote:
> > On Wed, 05 Mar 2008 23:01:34 +1100, David Symonds wrote:
> >
> >
> > > git-svn creates a whole bunch of remote branches -- does "git branch
> > > -a" show them up?
> > >
> > > Also, you can probably leave out the --trunk, etc., and just use
> > > --stdlayout.
> >
> >
> >
> > Thanks.  That's good information to have.  Is there a way to just do a
> >  straight import like in svnimport?  Is svnimport still available
> >  somewhere or has it been completely superseded by git-svn?
> 
> I believe git-svn completely replaces svnimport. Check the git-svn
> manpage, which is quite extensive.
You can find git-svnimport in contrib/examples/. 
git-svn has more features, and git-svnimport is no longer maintaned.
-- 
Jakub Narebski
Poland
ShadeHawk on #git

← back to recent threads