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

Re: git svn init --username ignored

From
EWEric Wong <normalperson@yhbt.net>
Date
Mar 30, 2009, 03:54 UTC
Message-ID
<20090330035453.GA4403@dcvr.yhbt.net>
In-Reply-To
<FB93BF8D-836A-4A40-8B82-E32561007A52@gmail.com>
Lachlan Deck <lachlan.deck@gmail.com> wrote:
Show 29 quoted lines
> On 30/03/2009, at 9:41 AM, Eric Wong wrote:
>
>> Lachlan Deck <lachlan.deck@gmail.com> wrote:
>>> Hi there,
>>>
>>> Is it a bug that the when specifying --username=foo for either git- 
>>> svn
>>> init or git-svn clone  that this isn't stored in .git/config?
>>>
>>> It means that for http[s] urls you need to specify it each time for
>>> git-svn fetch, for example.
>>>
>>> Is there any way to specify it manually in the config file - or would
>>> that have some bad consequences?
>>
>> Subversion already stores credential information in ~/.subversion/  
>> which
>> git svn should respect and use if available and allowed to.  Did you
>> disable set "store-auth-creds = no" in your ~/.subversion/config ?
>
> No, it's still commented out.
>
> I simply started by doing:
> git svn clone https://somedomain/repo repo --username=lachlan -s
> cd repo
> git svn fetch // failed without --username
>
> In case the initial passing of --username is tripping it up, I'm trying 
> again without specifying it.

Does "svn ls https://somedomain/repo" prompt you for a username? Does repeating that command (after successfully running it once) still prompt you? (it shouldn't prompt you again if you have auth caching on).

If "svn ls" is prompting you every time, then SVN auth caching is somehow disabled/broken on you system. You can try poking around inside your ~/.subversion/ directory and see if there's permissions problems or such...

-- 
Eric Wong
Previous: Lachlan Deck
Message 4 of 4 in “git svn init --username ignored”
  1. Lachlan DeckMar 29, 2009
  2. Eric WongMar 29, 2009
  3. Lachlan DeckMar 29, 2009
  4. Eric WongMar 30, 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.