Re: [GSoC] Git to SVN bridge
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Apr 23, 2012, 18:06 UTC
- Message-ID
- <20120423180607.GF9635@burratino>
- In-Reply-To
- <CALkWK0mdzWQRY=fSmyML1p7352c7Lb3vuYoJd+TXSdTmFX1teg@mail.gmail.com>
Ramkumar Ramachandra wrote:
> I'm a little more worried about the mapper- I'm finding it hard > to imagine a fast-import stream that contains subdirectories > (branches/*) as opposed to head refs. Any idea how we'll achieve > that?
Shouldn't it be very simple? All you need is a filter that understands the fast-import syntax and can convert
commit refs/heads/topic ... M 100644 inline "foo/bar"
to
commit toplevel ... M 100644 inline "branches/topic/foo/bar"
and
ls topic@1 "foo/bar"
to
ls r1 "branches/topic/foo/bar"