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

Re: [PATCH] git-svnimport: Parse log message for Signed-off-by: lines

From
SKSasha 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
Previous: Junio C HamanoNext: Matthias Urlichs
Message 5 of 7 in “git-svnimport: Parse log message for Signed-off-by: lines”
  1. git-svnimport: Parse log message for Signed-off-by: linesSasha Khapyorsky, Sep 5, 2006
  2. Junio C HamanoSep 5, 2006
  3. Sasha KhapyorskySep 5, 2006
  4. Junio C HamanoSep 5, 2006
  5. Sasha KhapyorskySep 6, 2006
  6. Matthias UrlichsSep 6, 2006
  7. partial svnimport [was: Re: [PATCH] git-svnimport: Parse log message for Signed-off-by: lines]Sasha Khapyorsky, Sep 28, 2006

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.