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

git-svn dcommit ignores --username if there are cached credentials

From
MJMichel Jouvin <jouvin@lal.in2p3.fr>
Date
Jan 12, 2010, 22:47 UTC
Message-ID
<loom.20100112T233835-324@post.gmane.org>
Hi,

I am new to Git and using 1.6.6. I'm very interested by using it to mirror SVN repositories. But I am running into troubles with the way git-svn handles SVN credentials.

For one SVN I use I have some cached credentials that have only very restricted write access. With svn command, I am using --username for every commit and this cached credential is just ignored: I'm asked for a password.

With git-svn, I use --username at init/fetch but during dcommit --username is ignored becaused of the cached credential. I can see in SVN logs that the cached credential (which doesn't have the right to commit the mods I made) has been used instead of the one specified during fetch. If I removed the cached credential, the username specified with --username is taken into account (I'm asked a password for it and it works) and if I ommit the --username, the one specified at fetch time is used.

IMO, looks like a bug... Thanks in advance for any comment.
Cheers,
Michel
Next: Eric Wong
Message 1 of 3 in “git-svn dcommit ignores --username if there are cached credentials”
  1. Michel JouvinJan 12, 2010
  2. Eric WongJan 13, 2010
  3. Michel JouvinJan 13, 2010

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.