git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to prefix existing svn remotes?
@ 2009-01-22 17:32 Sébastien Mazy
  2009-01-23 11:13 ` Michael J Gruber
  0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Mazy @ 2009-01-22 17:32 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-23 17:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 17:32 How to prefix existing svn remotes? Sébastien Mazy
2009-01-23 11:13 ` 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

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