Re: git-svn and complex branch/tag layout

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andriy Gapon <avg@...>
Cc: <git@...>, Marcus Griep <marcus@...>
Date: Saturday, September 6, 2008 - 10:56 pm

Andriy Gapon <avg@icyb.net.ua> wrote:

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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn and complex branch/tag layout, Andriy Gapon, (Fri Sep 5, 9:53 am)
Re: git-svn and complex branch/tag layout, Eric Wong, (Sat Sep 6, 10:56 pm)
Re: git-svn and complex branch/tag layout, Marcus Griep, (Sun Sep 7, 12:45 pm)