From: Eric Wong <normalperson@yhbt.net>
To: Andriy Gapon <avg@icyb.net.ua>
Cc: git@vger.kernel.org, Marcus Griep <marcus@griep.us>
Subject: Re: git-svn and complex branch/tag layout
Date: Sat, 6 Sep 2008 19:56:26 -0700 [thread overview]
Message-ID: <20080907025626.GB12392@untitled> (raw)
In-Reply-To: <48C139EB.1000104@icyb.net.ua>
Andriy Gapon <avg@icyb.net.ua> wrote:
>
> I am trying to use 'git svn' with FreeBSD base repository (which is now
> in svn).
> As can be seen here in "RELENG_* branches and general layout" section:
> http://wiki.freebsd.org/SubversionPrimer
>
> There are several subdirectories for branches and tags depending on the
> status of a branch/tag in question. As I understand those subdirectories
> do not introduce separate namespaces, i.e. a particular tag/branch name
> is supposed to be unique across all subdirectories.
>
> Does git-svn support repository layouts with multiple branch/tag
> subdirectories? Or does it only support "standard layout" variations
> that still have only one subdirectory for each?
>
> Thank you in advance for any help/advice!
Hi Andriy,
For tracking /etc, this seems to work:
git svn clone -b 'releng/*/etc' -t 'release/*/etc' svn://svn.freebsd.org/base
(it started, I don't have the time/space/bandwidth to let it finish).
Unfortunately only releng and release, you can get other namespaces like
stable.
Double-globbing should work, (I thought Marcus got it to work a few
months ago), but doesn't seem to at the moment:
git svn clone -b '*/*/etc'
Marcus?
The long way:
If you explicitly specify every branch you want, it'll definitely, too.
It's just a huge pain to setup since you'll lose all the advantages of
globbing, so it could end up being a very big .git/config file:
[svn-remote "svn"]
url = svn://svn.freebsd.org/base
fetch = releng/4.3/etc:refs/remotes/releng/4.3/etc
fetch = release/4.3.0/etc:refs/remotes/release/4.3.0/etc
fetch = stable/4/etc:refs/remotes/stable/4/etc
; ...
--
Eric Wong
next prev parent reply other threads:[~2008-09-07 2:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-05 13:53 git-svn and complex branch/tag layout Andriy Gapon
2008-09-07 2:56 ` Eric Wong [this message]
2008-09-07 16:45 ` Marcus Griep
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=20080907025626.GB12392@untitled \
--to=normalperson@yhbt.net \
--cc=avg@icyb.net.ua \
--cc=git@vger.kernel.org \
--cc=marcus@griep.us \
/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