From: Jan Hudec <bulb@ucw.cz>
To: Raja R Harinath <rharinath@novell.com>
Cc: git@vger.kernel.org
Subject: Does git-svn-id need repository path? (Re: How to use git-svn to clone from a mirror?)
Date: Mon, 4 Jun 2007 18:55:54 +0200 [thread overview]
Message-ID: <20070604165554.GC3299@efreet.light.src> (raw)
In-Reply-To: <85myzfsqji.fsf@blr-RHarinath.blr.novell.com>
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
On Mon, Jun 04, 2007 at 20:41:29 +0530, Raja R Harinath wrote:
> -------------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>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-06-04 16:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-02 12:54 How to use git-svn to clone from a mirror? David Kastrup
2007-06-04 15:11 ` Raja R Harinath
2007-06-04 16:55 ` Jan Hudec [this message]
2007-06-04 18:08 ` Johannes Schindelin
2007-06-05 6:41 ` David Kastrup
2007-06-05 10:41 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070604165554.GC3299@efreet.light.src \
--to=bulb@ucw.cz \
--cc=git@vger.kernel.org \
--cc=rharinath@novell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).