Git development
 help / color / mirror / Atom feed
From: Michael J Gruber <git@drmicha.warpmail.net>
To: Xavier Claessens <xclaesse@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Branches with git-svn
Date: Fri, 19 Sep 2008 14:35:07 +0200	[thread overview]
Message-ID: <48D39C7B.9020709@drmicha.warpmail.net> (raw)
In-Reply-To: <1221819302.6784.4.camel@zdra-laptop>

Xavier Claessens venit, vidit, dixit 19.09.2008 12:15:
> Hi,
> 
> I created a git repository using "git-svn clone <url>" a long time ago.
> But now I realise that I don't get SVN branches into my git repository.
> I see that the doc tells to use "git clone -t tags -b branches -T trunk
> <url>" to create the repository. If I create a new repository with that
> command, I get branches and tags.
> 
> However I have lots of contributors having branches based on my git
> repository. Is there a way to add SVN branch to my existing git repo?

If you haven't use those options back then, then what was the svn repo
structure - no trunk, just main?
Did you change the structure now?

If you git-svn fetch from that new structure then all your new branches
etc. will show up as subdirectories, which is most certainly not what
you want.

So, what was the structure in svn like before, and have your
contributors based their branches on the mis-imported new structure already?

Michael

  reply	other threads:[~2008-09-19 12:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19 10:15 Branches with git-svn Xavier Claessens
2008-09-19 12:35 ` Michael J Gruber [this message]
2008-09-19 13:10   ` Björn Steinbrink
2008-09-19 13:13   ` Xavier Claessens

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=48D39C7B.9020709@drmicha.warpmail.net \
    --to=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=xclaesse@gmail.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