login
Header Space

 
 

Re: How to use git-svn to clone from a mirror?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Monday, June 4, 2007 - 11:11 am

Hi,

David Kastrup <dak@gnu.org> writes:


I think you'll have to

-------------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<------------

- Hari

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: How to use git-svn to clone from a mirror?, Raja R Harinath, (Mon Jun 4, 11:11 am)
Re: How to use git-svn to clone from a mirror?, Johannes Schindelin, (Mon Jun 4, 2:08 pm)
speck-geostationary