git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Migrate an svn repo to git - Where did all the branches got? and tags?
@ 2010-05-21  4:20 Jack Moore
  2010-05-21  9:41 ` Thomas Rast
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Moore @ 2010-05-21  4:20 UTC (permalink / raw)
  To: git; +Cc: Jack Moore

All,

I have a subversion repository with the usual structure

svn-repo
  |
  +-branches
      +-release1
      +-release2
  +-tags
      +-r1dev
      +-r1test
      +-r2dev
      +-r2test
  +-trunk

that I want to migrate to git.

I cloned the svn repo with

   git svn clone --no-metadata -t tags -b branches -T trunk <repo-url>

I used the example in the Pro Git book.

the cloned repo has files 

  git-repo/.git/refs/heads/master
  git-repo/.git/refs/remotes/trunk

directory

  git-repo/.git/refs/tags

is empty.

Directories git-repo/.git/logs/... have files corresponding to the branches and tags, but they do not appear to reference git objects.

There are unhandled.log.gz files in the .git/svn directory for each branch and tag.

If I do a 

	git branch -r

the branches and tags show up as remote branches.
gitk appears to show all of the commits, but I do not see any of the branches and tags.

I would like to make the branches and tags to appear al local to git repo.

Is there a way to do this?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-21 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21  4:20 Migrate an svn repo to git - Where did all the branches got? and tags? Jack Moore
2010-05-21  9:41 ` Thomas Rast
2010-05-21 13:57   ` Jack Moore
2010-05-21 16:11     ` Ævar Arnfjörð Bjarmason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).