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

Does git-svn-id need repository path? (Re: How to use git-svn to clone from a mirror?)

From
JHJan Hudec <bulb@ucw.cz>
Date
Jun 4, 2007, 16:55 UTC
Message-ID
<20070604165554.GC3299@efreet.light.src>
In-Reply-To
<85myzfsqji.fsf@blr-RHarinath.blr.novell.com>
On Mon, Jun 04, 2007 at 20:41:29 +0530, Raja R Harinath wrote:
Show 12 quoted lines
> -------------8<------------
>   # remove stored revision db, since we're going to change all the commit ids
>   rm .git/svn/git-svn/.rev_db.*
> 
>   # rewrite git-svn-id: lines
>   cg-admin-rewritehist \
> 	--msg-filter \
> 	'sed "s,file:///tmp/rsync-mirror,svn://the.svn.link/whatever,"'
> 
>   # recreate new revision db, and fetch updates, if any
>   git-svn rebase
> -------------8<------------

Which leads me to a question. Should the url really be part of the git-svn-id? A subversion repository is uniquely identified by it's uuid, so the uuid + revno is a good identifier. Is it possible to change that now, or is it necessary to keep the format now for backward compatibility?

-- 
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
Previous: Raja R HarinathNext: Johannes Schindelin
Message 3 of 6 in “How to use git-svn to clone from a mirror?”
  1. David KastrupJun 2, 2007
  2. Raja R HarinathJun 4, 2007
  3. Does git-svn-id need repository path? (Re: How to use git-svn to clone from a mirror?)Jan Hudec, Jun 4, 2007
  4. Johannes SchindelinJun 4, 2007
  5. David KastrupJun 5, 2007
  6. Eric WongJun 5, 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.