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, 10:28 UTC
Message-ID
<4AFA91BB.7050402@obry.net>
In-Reply-To
<32541b130911101428t50038cfcsf37e3ea9edb26f64@mail.gmail.com>
Avery,
 > Is d2cf08bb67e4b7da33a250127aab784f1f2f58d3 a valid revision?  (git
 > log d2cf08bb67e4b7da33a250127aab784f1f2f58d3).
No.
 > Is refs/remotes/svn/trunk valid?  (git log refs/remotes/svn/trunk).
Yes.
 > It seems like a strange problem.
Agreed!
> You could try using git bisect to figure out which exact commit to
> git.git created the problem.
I wanted to avoid that :) Anyway, here is the culprit:
commit 6f5748e14cc5bb0a836b649fb8e2d6a5eb166f1d
Author: Adam Brewster <adambrewster@gmail.com>
Date:   Tue Aug 11 23:14:27 2009 -0400
     svn: allow branches outside of refs/remotes
     It may be convenient for some users to store svn remote tracking
     branches outside of the refs/remotes/ heirarchy.
     To accomplish this feat, this patch includes the entire path to
     the ref in $r->{'refname'} in &read_all_remotes and tries to change
     references to this entry so the new value makes sense.
     [ew: fixed backwards compatibility, long lines]
     Signed-off-by: Adam Brewster <adambrewster@gmail.com>
     Signed-off-by: Eric Wong <normalperson@yhbt.net>
  git-svn.perl                     |   83 
++++++++++++++++++++++----------------
  t/lib-git-svn.sh                 |    2 +-
  t/t9104-git-svn-follow-parent.sh |   10 ++--
  t/t9107-git-svn-migrate.sh       |   14 +++----
  t/t9143-git-svn-gc.sh            |   10 ++--
  t/t9144-git-svn-old-rev_map.sh   |   31 ++++++++++++++
  6 files changed, 96 insertions(+), 54 deletions(-)

But frankly I'm no expert on Perl... I fear that I won't be able to debug that!

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: Avery PennarunNext: Avery Pennarun
Message 3 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.