Git development
 help / color / mirror / Atom feed
From: "Sébastien Mazy" <melyadon@gmail.com>
To: git@vger.kernel.org
Subject: How to prefix existing svn remotes?
Date: Thu, 22 Jan 2009 18:32:11 +0100	[thread overview]
Message-ID: <20090122173211.GB21798@locahost> (raw)

Hi all,


I created a few months ago a git-svn repository using:
git svn clone -s https://my_svn_repo .

wich also created the following remotes:
git branch -r
  branch0
  tags/tag0
  trunk

I would like to prefix theses remotes, so that it shows:
git branch -r
  prefix/branch0
  prefix/tags/tag0
  prefix/trunk

Of course I should have used the -prefix back when creating the repo but
it's too late. 'git help svn' doesn't explain how to achieve that and
simply editing .git/config to add the missing prefix will cause the next
'git svn fetch' to download again the whole history (which in my case is
huge).


Is it possible? Did I miss something obvious?


Cheers,

-- 
Sébastien Mazy

             reply	other threads:[~2009-01-22 17:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 17:32 Sébastien Mazy [this message]
2009-01-23 11:13 ` How to prefix existing svn remotes? Michael J Gruber
2009-01-23 12:42   ` Sébastien Mazy
2009-01-23 13:02     ` Michael J Gruber
2009-01-23 17:13       ` Sébastien Mazy
2009-01-23 17:51         ` Jakub Narebski

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=20090122173211.GB21798@locahost \
    --to=melyadon@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox