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

Re: Problem with git-svn

From
Pascal Obry <pascal.obry@gmail.com>
Date
Dec 20, 2007, 20:34 UTC
Message-ID
<476AD1CE.1080408@obry.net>
In-Reply-To
<20071220183007.GA26767@untitled>
Eric,
> Ah, oops, I was off-by-one with the revision number.  But git-svn does
> look to be doing the right thing here, because it followed history into
> /importfromcvs/trunk/ and file.el was part of it.

Yes part of it but before the creation of the /importfromcvs/trunk/ that was moved later as /trunk/PROJ.

In /importfromcvs/trunk/ there was many projects imported. One per one, each time moving it into /trunk/PROJ.

If I look at history of /trunk/PROJ:
   $ svn log svn+ssh://myserver/trunk/PROJ

The last revision is 45775, so I think git-svn should not look past this revision. So I'm very surprised by the current behavior and think it is a bug to import file.el at revision 9458. Note that the workaround for me is to use:

   $ git svn clone svn+ssh://myserver/trunk/PROJ --revision=45775:HEAD
But it would be lot cleaner to have git-svn handling this properly I think.

Thanks, Pascal.

-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Previous: Pascal Obry
Message 11 of 11 in “Problem with git-svn”
  1. Pascal ObryDec 16, 2007
  2. Peter BaumannDec 16, 2007
  3. Pascal ObryDec 16, 2007
  4. Eric WongDec 19, 2007
  5. Pascal ObryDec 19, 2007
  6. Eric WongDec 20, 2007
  7. Pascal ObryDec 20, 2007
  8. Pascal ObryDec 21, 2007
  9. Eric WongDec 22, 2007
  10. Pascal ObryDec 22, 2007
  11. Pascal ObryDec 20, 2007

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.