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

Re: git-svn with non-standard repository layout

From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Date
Dec 5, 2012, 16:26 UTC
Message-ID
<CAA01Csoam7pXqPKnjvJB46T_sdjcW2S1oXdQT3HbUdfN4TK0kw@mail.gmail.com>
In-Reply-To
<50BE68C9.7070100@cafu.de>
On Tue, Dec 4, 2012 at 10:19 PM, Carsten Fuchs <carsten.fuchs@cafu.de> wrote:
Show 21 quoted lines
> Hi Piotr,
>
> Am 2012-12-04 18:29, schrieb Piotr Krukowiecki:
>
>> Is there a way to handle svn repository with following layout?
>>
>> repo/trunk
>> repo/branches/branch1
>> repo/branches/branch2
>> repo/branches/work/developer1/branch3
>> repo/branches/work/developer1/branch4
>> repo/branches/work/developer2/branch5
>
> see my post at
>     http://www.cafu.de/forum/viewtopic.php?f=14&t=1092
> heading "Branches outside branches/".
>
> You may need something like
>     git config --add svn-remote.svn.fetch
> "path.../branchX:refs/remotes/branchX"
> for each of your branches.
Thanks,
that works :)

Although not an ideal solution - I have to manually configure all branches + update them as they are created

-- Piotr Krukowiecki

Previous: Piotr KrukowieckiNext: Stephen Bash
Message 2 of 6 in “git-svn with non-standard repository layout”
  1. Piotr KrukowieckiDec 4, 2012
  2. Piotr KrukowieckiDec 5, 2012
  3. Stephen BashDec 5, 2012
  4. Piotr KrukowieckiDec 5, 2012
  5. Stephen BashDec 5, 2012
  6. Piotr KrukowieckiDec 11, 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.