# [BUG] git-svnimport doesn't import actual code

2 messages from 2005-11-17 to 2005-11-17. Participants: Panagiotis Issaris, Matthias Urlichs.
Thread: https://gitlist.dev/t/2569

## Panagiotis Issaris, 2005-11-17 16:06

Subject: [BUG] git-svnimport doesn't import actual code
Message-ID: <20051117160645.GA26871@lumumba.uhasselt.be>
URL: https://gitlist.dev/e/20051117160645.GA26871%40lumumba.uhasselt.be

```
Hi,

When importing a Subversion tree into a GIT tree using git-svnimport I
ended up with a git tree containing the number of expected commits,
complete with logmessages and timestamps, but no files showed up.
Using gitk shows me a large list of commits, but again, no diffs show
up. Using "cg-log -f" shows all the commits, but no files are shown
related to the commits.

This was the command used to import the Subversion repository:
git-svnimport -v svn://svn.berlios.de/rtnet/trunk

Here's a screenshot of gitk viewing the GIT-repository:
http://flickr.com/photos/takis/64214074/

With friendly regards,
Takis

-- 
OpenPGP key: http://issaris.org/~takis/takis_public_key.txt
fingerprint: 6571 13A3 33D9 3726 F728  AA98 F643 B12E ECF3 E029

```

## Matthias Urlichs, 2005-11-17 17:05

Subject: Re: [BUG] git-svnimport doesn't import actual code
Message-ID: <pan.2005.11.17.17.05.21.780279@smurf.noris.de>
URL: https://gitlist.dev/e/pan.2005.11.17.17.05.21.780279%40smurf.noris.de
In-Reply-To: <20051117160645.GA26871@lumumba.uhasselt.be>

```
Hi, Panagiotis Issaris wrote:

> git-svnimport -v svn://svn.berlios.de/rtnet/trunk

That's easy -- you can't svn-pull the trunk that way.
(Note that you got a lot of "skipped" messages...)

Just drop the "trunk", add a "-b branches" if that repository
needs it, and svnimport will handle it.

ASIDE: All the repositories in my import list need that flag, so I am
considering changing the default name from "branch" to "branches".
Objections, anybody?

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
It is impossible to travel faster than light, and certainly not desirable,
as one's hat keeps blowing off.
		-- Woody Allen

```
