Re: [PATCH] git-svnimport: Parse log message for Signed-off-by: lines
- From
- Sasha Khapyorsky <sashak@voltaire.com>
- Date
- Sep 6, 2006, 12:53 UTC
- Message-ID
- <20060906125317.GA21645@sashak.voltaire.com>
- In-Reply-To
- <7v8xkxc2tr.fsf@assigned-by-dhcp.cox.net>
On 16:26 Tue 05 Sep , Junio C Hamano wrote:
Show 12 quoted lines
> Sasha Khapyorsky <sashak@voltaire.com> writes:
>
> > BTW, what about to importing subdirectories, like this:
> >
> > <trunk>/path/to/subdir
> > <branches>/path/to/subdir
> >
> > Is this could be improvement?
>
> I somehow had an impression that svnimport dealt with the
> reversed layout already, although $project/{trunk,branches,tags}
> layout is assumed by default; maybe I was mistaken.At least I didn't succeed with reversed layout. With option -T <trunk>/$project import works but only for trunk branch, attempts to specify branch as -b <branches> or -b <branches>/$project don't help, the same is with tags.
> If the tool can automatically detect the layout the remote > project employs, and adjust the default accordingly, I would > imagine that would be a useful addition.
Not really automatically, but $project may be passed as option argument in command line (let's say -p or -P), then git-svnimport will attempt to parse such SVN repo layout:
<trunk>/$project <branches>/<names>/$project ...
I will verify the patch (it worked only once with our specific project - OpenSM) and then will post.
Sasha