From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Pierre Habouzit <madcoder@debian.org>
Cc: Adam Roben <aroben@apple.com>, git@vger.kernel.org
Subject: Re: Equivalent of `svn switch` for git-svn?
Date: Thu, 27 Sep 2007 12:54:18 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0709271253040.28395@racer.site> (raw)
In-Reply-To: <20070927100607.GC10289@artemis.corp>
Hi,
On Thu, 27 Sep 2007, Pierre Habouzit wrote:
> On Thu, Sep 27, 2007 at 06:41:10AM +0000, Adam Roben wrote:
> > Hi all-
> > I've recently been informed that the Subversion server I and several
> > others have been tracking with git-svn will be switching from using the
> > svn+ssh scheme to the http scheme. To handle this, users of svn will be
> > running `svn switch` to move their working copies to the new repository
> > URL. Is there some way to do the same for git-svn? I suspect the biggest
> > complication will come from the git-svn-id: lines in the commit logs,
> > since changing that line would require changing the commit hash as well.
>
> edit your .git/config, in the section [svn-remote "svn"], change url =
Or use git-config:
git config svn-remote.svn.url <url>
Or make it a global alias:
git config --global alias svn-switch 'config svn-remote.svn.url'
so that you can say
git svn-switch <url>
Ciao,
Dscho
next prev parent reply other threads:[~2007-09-27 11:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-27 6:41 Equivalent of `svn switch` for git-svn? Adam Roben
2007-09-27 10:06 ` Pierre Habouzit
2007-09-27 11:54 ` Johannes Schindelin [this message]
2007-09-27 16:39 ` Adam Roben
2007-09-27 17:02 ` Pierre Habouzit
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=Pine.LNX.4.64.0709271253040.28395@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=aroben@apple.com \
--cc=git@vger.kernel.org \
--cc=madcoder@debian.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.
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).