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

Re: git svn with non-standard svn layout

From
FMFabian Molder <fm122@arcor.de>
Date
Oct 11, 2009, 19:00 UTC
Message-ID
<loom.20091011T205226-197@post.gmane.org>
In-Reply-To
<20091011070937.GC16264@dcvr.yhbt.net>
Eric Wong <normalperson <at> yhbt.net> writes:
...
Show 20 quoted lines
> 
> Hi Fabian,
> 
> Since you don't want to track the entire repo and these seem like
> unrelated (history-wise) trees, you probably want the simplest cases:
> 
>   git svn clone svn://example.com/path/to/xapplication2
>   git svn clone svn://example.com/path/to/aa/bb/cc/xapplication1
> 
> These commands are like doing the following with plain old svn:
> 
>   svn co svn://example.com/path/to/xapplication2
>   svn co svn://example.com/path/to/aa/bb/cc/xapplication1
> 
> > I tried to use "git config svn-remote.svn.branches" to do this,
> >  please see in function "do_git_svn" in bash-script - but no success
> 
> svn-remote.svn.branches and tags are really only for repos with
> standard layouts.
> 
Hello Eric,
  hmm, understand,
  but this just does an checkout to the working dir
  the reason for using git is:
    - work offline, with (at least read) access to all the svn branches
    - have some more (privat, not commit back to svn) branches for experiments
    - all the nice git stuff ..
regards,
Fabian
Previous: Eric WongNext: Eric Wong
Message 3 of 4 in “git svn with non-standard svn layout”
  1. Fabian MolderOct 9, 2009
  2. Eric WongOct 11, 2009
  3. Fabian MolderOct 11, 2009
  4. Eric WongOct 14, 2009

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.