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:32 UTC
Message-ID
<1272987155533-5003911.post@n2.nabble.com>
In-Reply-To
<4BDEC3AE.90409@drmicha.warpmail.net>

Ok, I have a local copy of the Subversion repo not using svnsync to speed up testing.

I also upgraded git and git-svn to 1.7.1 Svn is at 1.6.5

I do the git svn init as before, but with the file://<path_to_local_svn_repo> It is saying using higher level url, if that does anything?

I asume that this error message is what is causing my problem?
r10623 = 7191e343c78eb0705173c47b1f914da8b1c6d6f5 (refs/remotes/svn/trunk)
Found possible branch point:
file:///home/user/svn-repo/services/project/clients/branches/develop/pom.xml
=>
file:///home/user/svn-repo/services/project/clients/branches/release-1.1.0,
10623
Initializing parent: refs/remotes/svn/release-1.1.0@10623
W: Ignoring error from SVN, path probably does not exist: (160013):
Filesystem has no item: File not found: revision 101, path
'/services/clients/branches/develop/pom.xml'
W: Do not be alarmed at the above message git-svn is just searching
aggressively for old history.
This may take a while on large repositories
r9529 = f4b81a737c453f18ab613cb216f26671e24b5d6e
(refs/remotes/svn/release-1.1.0@10623)
r9812 = 9359c6b9aac2c753e484d3a6ba26c857f578ad15
(refs/remotes/svn/release-1.1.0@10623)
Found branch parent: (refs/remotes/svn/release-1.1.0)
9359c6b9aac2c753e484d3a6ba26c857f578ad15
Following parent with do_switch
Invalid filesystem path syntax: Cannot replace a directory from within at
/usr/lib/git-core/git-svn line 5097

Btw, why do I get a @<revision> branch here? remotes/svn/release-1.1.0 remotes/svn/release-1.1.0@10623

git checkout -b develop svn/develop HEAD is now at 5012366... increased version to 1.2.0-SNAPSHOT

Version in file is not 1.2.0-SNAPSHOT as the log says and as it is in Subversion.

-- 
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-tp4997493p5003911.html
Sent from the git mailing list archive at Nabble.com.
Previous: magnuspalmerNext: magnuspalmer
Message 6 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.