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

Re: git-svn - username/password

From
EWEric Wong <normalperson@yhbt.net>
Date
Jan 16, 2007, 00:41 UTC
Message-ID
<20070116004137.GA10706@localdomain>
In-Reply-To
<8664b73maf.fsf@blue.stonehenge.com>
"Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
Show 8 quoted lines
> 
> It's not clear from the docs where I'm supposed to put a subversion
> username/password in git-svn.  In fact, git-svn makes absolutely no mention of
> password.  And I see there's some --username=%s kind of stuff in the arg
> parsing, but I'm not able to seem to make it work.  (At one point, git-svn
> init actually created a subdir named "http:"... oops!)
> 
> Eric?  Or anyone?

git-svn fetch --username <username> should work with recent-ish git-svn (since around Thanksgiving); and eventually prompt you for the password (just like svn does).

If you're using older versions, just run
   `svn log -rHEAD --username <username> <repository>'
and have it cache your password.
-- 
Eric Wong
Previous: Randal L. SchwartzNext: Randal L. Schwartz
Message 2 of 4 in “git-svn - username/password”
  1. Randal L. SchwartzJan 15, 2007
  2. Eric WongJan 16, 2007
  3. Randal L. SchwartzJan 16, 2007
  4. Eric WongJan 16, 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.