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

Re: Help using Git(-svn) for specific use case

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Sep 15, 2008, 21:47 UTC
Message-ID
<20080915214740.GI28210@dpotapov.dyndns.org>
In-Reply-To
<48CED08F.5040602@drmicha.warpmail.net>
On Mon, Sep 15, 2008 at 11:15:59PM +0200, Michael J Gruber wrote:
Show 6 quoted lines
> Sverre Rabbelier venit, vidit, dixit 15.09.2008 22:59:
> > 
> > I thought this was fixed in a more recent version of git-svn? Didn't
> > it even work both ways?
> 
> Kind of. You can't fake a different author when committing to svn.

This is not exactly correct as you can fake author if you have the right to change the svn:author property (or what is its name?), but by default this is not allowed to anyone, and git-svn does not support this method anyway.

> But
> "--add-author-from" makes dcommit embed the author in the svn commit
> message (if there's no from nor sob), and "--use-log-author" makes fetch
> look for that info and use it.

Yes, it works. And it is very useful especially you are going eventually convert your SVN repository in Git (so all authorship information will be retain). Probably, I should have mentioned this possibility.

Thanks, Dmitry

Previous: Michael J GruberNext: Pico Geyer
Message 6 of 9 in “Help using Git(-svn) for specific use case”
  1. Pico GeyerSep 15, 2008
  2. Michael J GruberSep 15, 2008
  3. Dmitry PotapovSep 15, 2008
  4. Sverre RabbelierSep 15, 2008
  5. Michael J GruberSep 15, 2008
  6. Dmitry PotapovSep 15, 2008
  7. Pico GeyerSep 15, 2008
  8. Pico GeyerSep 17, 2008
  9. Dmitry PotapovSep 18, 2008

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.