From: Marc Branchaud <marcnarc@xiplink.com>
To: Changsheng Jiang <jiangzuoyan@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: how to fetch a new svn branch after clone?
Date: Fri, 17 Jul 2009 12:09:24 -0400 [thread overview]
Message-ID: <4A60A234.5020907@xiplink.com> (raw)
In-Reply-To: <eafc0afe0907161900k35b2dff1u5a2bfc574bb93231@mail.gmail.com>
Changsheng Jiang wrote:
> Thank Marc.
>
> You are right, it should be the latter case with url
> http://www.example.com/project/branches/test
Hmmm, that isn't a case I mentioned in my previous email. Are you saying that the layout is actually
http://www.example.com/project/branches/<some branches>
http://www.example.com/project/branches/test/<some other branches>
If that's the case I think you might be stuck. I think git-svn can't handle that layout (with branch names under both branches/ and branches/test/).
> But "git svn clone" has already added these lines to .git/config
>
> [svn-remote "svn"]
> url = https://xxx.xxxx.com/svn/xxx
> fetch = trunk:refs/remotes/trunk
> branches = branches/*:refs/remotes/*
> tags = tags/*:refs/remotes/tags/*
>
> And it still can not fetch new branch.
Yes. If you had a layout that git-svn supported, you would need to add a _second_ branches line.
M.
prev parent reply other threads:[~2009-07-17 16:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 15:30 how to fetch a new svn branch after clone? Changsheng Jiang
2009-07-16 20:26 ` Marc Branchaud
2009-07-17 2:00 ` Changsheng Jiang
[not found] ` <6786ed4f0907161918t5d4489a5uf1c315b07f850e2e@mail.gmail.com>
2009-07-17 2:25 ` Changsheng Jiang
2009-07-17 16:09 ` Marc Branchaud [this message]
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=4A60A234.5020907@xiplink.com \
--to=marcnarc@xiplink.com \
--cc=git@vger.kernel.org \
--cc=jiangzuoyan@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;
as well as URLs for NNTP newsgroup(s).