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

Re: git-svn problem with v1.6.5

From
Pascal Obry <pascal@obry.net>
Date
Nov 11, 2009, 21:55 UTC
Message-ID
<4AFB32DC.50505@obry.net>
In-Reply-To
<20091111203413.GA9648@dcvr.yhbt.net>
Eric,
> Also, any chance you have multiple refs with "trunk" in the basename?
>
>   git rev-parse --symbolic --all | grep '/trunk'
This reports:

$ git rev-parse --symbolic --all | grep '/trunk' refs/remotes/svn/trunk

> It could be a backwards compatibility issue with git svn looking
> in multiple places for trunk.
But I have multiple trunk:

$ ls .git/svn/svn/trunk/ ./ ../ .rev_map.936e1b1b-40f2-da11-902a-00137254ae57 unhandled.log

$ ls .git/svn/refs/remotes/svn/trunk/ ./ ../ .rev_map.936e1b1b-40f2-da11-902a-00137254ae57 unhandled.log

Removing all the .rev_map* fix the problem.

Removing only the one in .git/svn/refs/remotes/svn/trunk/ fix the problem too.

> With Adam's commit, it'll try $GIT_DIR/svn/refs/remotes/trunk/* first
> Then it'll try $GIT_DIR/svn/trunk/* as a fallback.

Does this means that it was looking first in $GIT_DIR/svn/trunk/* before? And the confusion come because now it is looking in $GIT_DIR/svn/refs/remotes/trunk/* first?

Pascal.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Previous: Eric WongNext: Eric Wong
Message 8 of 17 in “git-svn problem with v1.6.5”
  1. Pascal ObryNov 10, 2009
  2. Avery PennarunNov 10, 2009
  3. Pascal ObryNov 11, 2009
  4. Avery PennarunNov 11, 2009
  5. Pascal ObryNov 11, 2009
  6. Eric WongNov 11, 2009
  7. Eric WongNov 11, 2009
  8. Pascal ObryNov 11, 2009
  9. Eric WongNov 11, 2009
  10. Pascal ObryNov 12, 2009
  11. Eric WongNov 12, 2009
  12. Pascal ObryNov 12, 2009
  13. Pascal ObryNov 12, 2009
  14. Eric WongNov 12, 2009
  15. Pascal ObryNov 12, 2009
  16. Sam VilainNov 11, 2009
  17. Pascal ObryNov 11, 2009

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.