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

Re: [PATCH] git-svn: try to read the dcommit url from the config file

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 23, 2009, 02:05 UTC
Message-ID
<20090223020545.GE26706@dcvr.yhbt.net>
In-Reply-To
<200902222241.56223.kumbayo84@arcor.de>
Peter Oberndorfer <kumbayo84@arcor.de> wrote:
Show 14 quoted lines
> On Samstag 21 Februar 2009, Eric Wong wrote:
> > Peter Oberndorfer <kumbayo84@arcor.de> wrote:
> > > The commit url is determined in the following order
> > > --commit-url commandline
> > 
> > actually, it should look in the .git/config for this, too:
> > 
> >   svn.commiturl
> > 
> 
> I did not see that the commandline options are also searched in the
> config.  Also this option does not seem to be documented.  Should i
> document svn.commiturl in dcommit or is that just a implementation
> detail.
Please document svn.commiturl, thanks
Show 10 quoted lines
> > > svn-remote.<name>.dcommiturl
> > 
> > Of course, having a per-svn-remote commiturl can be useful, too.
> > 
> > Though I'd call it "commiturl" instead of "dcommiturl" to match the
> > existing config setting.  The not-often-used "set-tree" command could
> > probably be updated to use these config options, too...
> > 
> 
> sorry, i do not understand enough of perl/git-svn to do this :-(

Don't worry about set-tree, for now :) dcommit has been the recommended workflow for a while now so very few people use set-tree (it's highly git-centric and makes history confusing to SVN users).

> > I'll ack this patch with "dcommiturl" replaced with "commiturl".
> > 
> 
> OK, will resend the patch once i know if i should document svn.commiturl.
Thanks Peter
-- 
Eric Wong
Previous: Peter OberndorferNext: Peter Oberndorfer
Message 7 of 10 in “git-svn: try to read the dcommit url from the config file”
  1. git-svn: try to read the dcommit url from the config filePeter Oberndorfer, Feb 19, 2009
  2. git svn dcommit difficulties/feature requestPeter Oberndorfer, Feb 19, 2009
  3. Kevin MenardFeb 20, 2009
  4. Eric WongFeb 21, 2009
  5. Eric WongFeb 21, 2009
  6. Peter OberndorferFeb 22, 2009
  7. Eric WongFeb 23, 2009
  8. git-svn: read the dcommit url from the config file on a per remote basisPeter Oberndorfer, Feb 23, 2009
  9. Eric WongFeb 23, 2009
  10. Junio C HamanoFeb 23, 2009

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.