git/list[1] front-page[2] threads[3] people[4] search[5] about
 

svn2git question: Build directory inserted at top level?

From
Nnolan.ring@emc.com <nolan.ring@emc.com>
Date
Sep 15, 2010, 13:47 UTC
Message-ID
<4E10ACF241081344B9702AA8C6440440C5B13F2162@MX01A.corp.emc.com>
In-Reply-To
<DDB24DEE-934B-4C8D-8DAA-595905035AC4@jetbrains.com>
All,
I'm converting repositories from svn to git using svn2git.  I have a repo with the following hierarchy:

trunk/ dist/ tags/ branches/ REbranches/

Ultimately I want to convert everything except the dist directory but am trying to understand what svn2git is doing and why.
I ran the command to see what I would get just importing trunk:
svn2git -v --nobranches --notags  http://poc.emc.com/repos/POCcs
After the conversion completed I had the following:

buildadm@suse-s11:/work/POCcs> ls Automation build_cs_rpm.pl ControlStation depends.properties

Then I ran the following command because I wanted to include the branches as well as the trunk in the conversion:
svn2git -v --notags  http://poc.emc.com/repos/POCcs
When I include the branches in the conversion I get a Build directory at the top level and then the usual directory structure of the repo.  Where is the Build dir coming from?  Is svn2git doing that?  Or is it finding that somewhere somehow in the repo?

buildadm@suse-s11:/work/POCcs> ls Build buildadm@suse-s11:/work/POCcs/Build> ls Automation build_cs_rpm.pl ControlStation depends.properties

Thanks for any help.
Nolan
Previous: Jeff KingNext: Daniel Johnson
Message 5 of 7 in “git log --pretty=format joins lines in the subject of commit message”
  1. Kirill LikhodedovSep 15, 2010
  2. Ævar Arnfjörð BjarmasonSep 15, 2010
  3. Kirill LikhodedovSep 17, 2010
  4. Jeff KingSep 17, 2010
  5. svn2git question: Build directory inserted at top level?nolan.ring@emc.com, Sep 15, 2010
  6. Daniel JohnsonSep 15, 2010
  7. Torgny NyblomSep 15, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.