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

Re: [PATCH 4/3] git-svn: allow `info' command to work offline

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 22, 2007, 03:56 UTC
Message-ID
<20071122035605.GB30134@soma>
In-Reply-To
<4744F66D.7030007@apple.com>
Adam Roben <aroben@apple.com> wrote:
Show 6 quoted lines
> Eric Wong wrote:
> >+	my $k = "svn-remote.$self->{repo_id}.reposRoot";
> >  
> 
> "repoRoot" seems slightly more intuitive than "reposRoot", given that 
> "repository" is normally abbreviated as "repo".
>From a git-only point of view, yes.  But it's repos_root everywhere

inside git-svn because SVN uses "*_repos_root" for their API. This is inside the hidden metadata file that users shouldn't have to touch anyways.

On a side note:

I personally *hate* camelCase names (or worse, alllowercase), but git config doesn't allow underscores in config keys for some strange reason (especially strange since most of the git and Linux source code use snake_case...)

-- 
Eric Wong
Previous: Adam Roben
Message 11 of 11 in “Implement git-svn info”
  1. 0/3 Implement git-svn infoDavid D. Kilzer, Nov 21, 2007
  2. 1/3 git-svn: extract reusable code into utility functionsDavid D. Kilzer, Nov 21, 2007
  3. 2/3 git-svn info: implement info commandDavid D. Kilzer, Nov 21, 2007
  4. 3/3 git-svn: info --url [path]David D. Kilzer, Nov 21, 2007
  5. Eric WongNov 22, 2007
  6. David D. KilzerNov 22, 2007
  7. Eric WongNov 22, 2007
  8. Eric WongNov 22, 2007
  9. 4/3 git-svn: allow `info' command to work offlineEric Wong, Nov 22, 2007
  10. Adam RobenNov 22, 2007
  11. Eric WongNov 22, 2007

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.