From: Stephen Bannasch <stephen.bannasch@deanbrook.org>
To: git@vger.kernel.org
Subject: Re: Can I switch a git-svn clone from a file => http url?
Date: Wed, 2 Apr 2008 22:06:48 -0400 [thread overview]
Message-ID: <p06240802c419e22d78a7@[63.138.152.125]> (raw)
In-Reply-To: <20080402151721.GA31738@atjola.homenet>
Thanks Björn,
At 5:17 PM +0200 4/2/08, Björn Steinbrink wrote:
>On 2008.04.02 10:38:34 -0400, Stephen Bannasch wrote:
> > Is there an operation I can now do to switch the base url from:
>>
>> file:///Path/to/svn/repository/projects
>>
>> to
>>
>> https://svn.concord.org/svn/projects
>
>Basically, this should work:
>
>Change the URL to the repo in your .git/config.
Done
>Use filter-branch to change all git-svn-id lines in the log entries.
I've just started using git so please forgive the beginner questions.
What should I change the log entries to?
Here's what the log entries look like now:
$ git-filter-branch --msg-filter 'echo $GIT_COMMIT'
^MRewrite 89817efa5b290d375786a5af9a0dcc338df8a68c (1/13099)^MRewrite b090d1d40cba2c66a494d52e370317487d103484 (2/13099)^M
Do you mean each one should just be re-written to a new SHA1 keys? If so how should I generate new SHA1 keys?
>The filter-branch call should use the --msg-filter option to change the
>log entries and should apply to all the svn branches/tags/trunk (or just
>use " -- --all", if there's nothing that may not be filtered).
>
>HTH
>Björn
>--
>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
next prev parent reply other threads:[~2008-04-03 2:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-02 14:38 Can I switch a git-svn clone from a file => http url? Stephen Bannasch
2008-04-02 13:47 ` Johannes Schindelin
2008-04-02 15:17 ` Björn Steinbrink
2008-04-03 2:06 ` Stephen Bannasch [this message]
2008-04-05 0:23 ` Björn Steinbrink
2008-04-03 6:05 ` Teemu Likonen
2008-04-04 0:49 ` Stephen Bannasch
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='p06240802c419e22d78a7@[63.138.152.125]' \
--to=stephen.bannasch@deanbrook.org \
--cc=git@vger.kernel.org \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).