# git-svn and logging.. new to git

5 messages from 2008-03-05 to 2008-03-05. Participants: Kenneth P. Turvey, David Symonds, Jakub Narebski.
Thread: https://gitlist.dev/t/12512

## Kenneth P. Turvey, 2008-03-05 09:22

Subject: git-svn and logging.. new to git
Message-ID: <fqloop$ll$1@ger.gmane.org>
URL: https://gitlist.dev/e/fqloop%24ll%241%40ger.gmane.org

```
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, 2008-03-05 12:01

Subject: Re: git-svn and logging.. new to git
Message-ID: <ee77f5c20803050401o7f33522dj6dd0f0f1c0a78f96@mail.gmail.com>
URL: https://gitlist.dev/e/ee77f5c20803050401o7f33522dj6dd0f0f1c0a78f96%40mail.gmail.com
In-Reply-To: <fqloop$ll$1@ger.gmane.org>

```
On Wed, Mar 5, 2008 at 8:22 PM, Kenneth P. Turvey
<kt-usenet@squeakydolphin.com> wrote:
> 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, 2008-03-05 16:03

Subject: Re: git-svn and logging.. new to git
Message-ID: <fqmg8v$rmm$1@ger.gmane.org>
URL: https://gitlist.dev/e/fqmg8v%24rmm%241%40ger.gmane.org
In-Reply-To: <ee77f5c20803050401o7f33522dj6dd0f0f1c0a78f96@mail.gmail.com>

```
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? 

-- 
Kenneth P. Turvey <kt-usenet@squeakydolphin.com>


```

## David Symonds, 2008-03-05 20:37

Subject: Re: git-svn and logging.. new to git
Message-ID: <ee77f5c20803051237y571efa54nc80f157015859cc6@mail.gmail.com>
URL: https://gitlist.dev/e/ee77f5c20803051237y571efa54nc80f157015859cc6%40mail.gmail.com
In-Reply-To: <fqmg8v$rmm$1@ger.gmane.org>

```
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.


Dave.

```

## Jakub Narebski, 2008-03-05 21:02

Subject: Re: git-svn and logging.. new to git
Message-ID: <m3ir00hoj9.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3ir00hoj9.fsf%40localhost.localdomain
In-Reply-To: <ee77f5c20803051237y571efa54nc80f157015859cc6@mail.gmail.com>

```
"David Symonds" <dsymonds@gmail.com> writes:

> 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

```
