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

Re: Migrating from subversion via git svn contains log entry, but not the file change in the branch.

From
Mmagnuspalmer <magnus.palmer@jayway.com>
Date
May 4, 2010, 15:57 UTC
Message-ID
<1272988655082-5004035.post@n2.nabble.com>
In-Reply-To
<1272987155533-5003911.post@n2.nabble.com>
Sorry for spamming, got it working with the following changes:

It turned out that removing the ignore paths entry for branches and tags did it the trick.

Previously: git svn init -s --trunk='' --tags=tags/*/* --branches=branches --prefix=svn/ --ignore-paths="branches|tags|subrepo-a|subrepo-b|" <repo_url>

"Working" git svn init -s --trunk='' --tags=tags/*/* --branches=branches --prefix=svn/ --ignore-paths="subrepo-a|subrepo-b|" <repo_url>

I also had to change from --trunk='' to explicit
--trunk='file:///home/repo/svn-repo/services/project/clients' or else it
also created the branches and tags dirs.
 
-- 
View this message in context: http://git.661346.n2.nabble.com/Migrating-from-subversion-via-git-svn-contains-log-entry-but-not-the-file-change-in-the-branch-tp4997493p5004035.html
Sent from the git mailing list archive at Nabble.com.
Previous: magnuspalmer
Message 7 of 7 in “Migrating from subversion via git svn contains log entry, but not the file change in the branch.”
  1. magnuspalmerMay 3, 2010
  2. Michael J GruberMay 3, 2010
  3. Dmitrijs LedkovsMay 3, 2010
  4. magnuspalmerMay 4, 2010
  5. magnuspalmerMay 3, 2010
  6. magnuspalmerMay 4, 2010
  7. magnuspalmerMay 4, 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.