git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn: cloning an SVN repo with sub-branches and sub-tags

From
Ddag@cray.com <dag@cray.com>
Date
Mar 29, 2012, 15:56 UTC
Message-ID
<nngbonfz9hy.fsf@transit.us.cray.com>
In-Reply-To
<4F7467E1.3090004@pocock.com.au>
Daniel Pocock <daniel@pocock.com.au> writes:
Show 10 quoted lines
> branches/user1/workitem1
> branches/user1/workitem2
> branches/user2/workitem1
> branches/user2/workitem2
> git svn clone \
>   -T trunk \
>   -t tags \
>   -b branches \
>   https://flactag.svn.sourceforge.net/svnroot/flactag \
>   flactag-git1

I think you need to add --branches=branches/user1/workitem1 --branches=branches/user1/workitem1, etc. Ditto for tags.

                               -Dave
Previous: Ramkumar RamachandraNext: Stephen Bash
Message 8 of 9 in “git-svn: cloning an SVN repo with sub-branches and sub-tags”
  1. Daniel PocockMar 29, 2012
  2. Dave ZarzyckiMar 29, 2012
  3. Daniel PocockMar 30, 2012
  4. Dave ZarzyckiMar 30, 2012
  5. Ramkumar RamachandraMar 29, 2012
  6. Daniel PocockMar 30, 2012
  7. Ramkumar RamachandraMar 30, 2012
  8. dag@cray.comMar 29, 2012
  9. Stephen BashMar 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.