# Can git-svn treat specify paths as branches ?

3 messages from 2007-07-03 to 2007-07-03. Participants: Dongsheng Song, Jeffrey C. Ollie.
Thread: https://gitlist.dev/t/8832

## Dongsheng Song, 2007-07-03 09:12

Subject: Can git-svn treat specify paths as branches ?
Message-ID: <4b3406f0707030212h1e029023sf74c5c7b0e95654b@mail.gmail.com>
URL: https://gitlist.dev/e/4b3406f0707030212h1e029023sf74c5c7b0e95654b%40mail.gmail.com

```
For google code projects, the repositories organized is:

branches  tags  trunk  wiki

Can I treat wiki as a branch? i.e.

[svn-remote "svn"]
        url = http://serf.googlecode.com/svn
        fetch = trunk:refs/remotes/trunk
        branches = branches/*,wiki:refs/remotes/*
        tags = tags/*:refs/remotes/tags/*

---
Dongsheng

```

## Jeffrey C. Ollie, 2007-07-03 12:53

Subject: Re: Can git-svn treat specify paths as branches ?
Message-ID: <1183467196.3868.1.camel@lt21223.campus.dmacc.edu>
URL: https://gitlist.dev/e/1183467196.3868.1.camel%40lt21223.campus.dmacc.edu
In-Reply-To: <4b3406f0707030212h1e029023sf74c5c7b0e95654b@mail.gmail.com>

```
On Tue, 2007-07-03 at 17:12 +0800, Dongsheng Song wrote:
> For google code projects, the repositories organized is:
> 
> branches  tags  trunk  wiki
> 
> Can I treat wiki as a branch? i.e.
> 
> [svn-remote "svn"]
>         url = http://serf.googlecode.com/svn
>         fetch = trunk:refs/remotes/trunk
>         branches = branches/*,wiki:refs/remotes/*
>         tags = tags/*:refs/remotes/tags/*

What's the structure underneath the wiki directory?  If it's just
content, I'd use:

fetch = wiki:refs/remotes/wiki

Jeff


```

## Dongsheng Song, 2007-07-03 14:11

Subject: Re: Can git-svn treat specify paths as branches ?
Message-ID: <4b3406f0707030711i3ba973b2m44696214f61cbbc8@mail.gmail.com>
URL: https://gitlist.dev/e/4b3406f0707030711i3ba973b2m44696214f61cbbc8%40mail.gmail.com
In-Reply-To: <1183467196.3868.1.camel@lt21223.campus.dmacc.edu>

```
Thanks, it works.

2007/7/3, Jeffrey C. Ollie <jeff@ocjtech.us>:
> On Tue, 2007-07-03 at 17:12 +0800, Dongsheng Song wrote:
> > For google code projects, the repositories organized is:
> >
> > branches  tags  trunk  wiki
> >
> > Can I treat wiki as a branch? i.e.
> >
> > [svn-remote "svn"]
> >         url = http://serf.googlecode.com/svn
> >         fetch = trunk:refs/remotes/trunk
> >         branches = branches/*,wiki:refs/remotes/*
> >         tags = tags/*:refs/remotes/tags/*
>
> What's the structure underneath the wiki directory?  If it's just
> content, I'd use:
>
> fetch = wiki:refs/remotes/wiki
>
> Jeff
>
>
>

```
