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

Re: git svn dcommit doesn't support --username option for file:/// urls

From
TRTim Ringenbach <tim.ringenbach@gmail.com>
Date
Feb 15, 2016, 19:16 UTC
Message-ID
<CAGZMbfdem6YzrEUw9A6ZWAbm6zXkNxqM3myAjHz4xFDS79VYwA@mail.gmail.com>
In-Reply-To
<20160215100636.GA5785@dcvr.yhbt.net>

On Mon, Feb 15, 2016 at 4:06 AM, Eric Wong <normalperson@yhbt.net> wrote: [snip]

> Totally untested, but does flipping the order of auth providers
> help at all?

Thanks for looking into this. Unfortunately, that didn't seem to make a difference. I tried several times, and I tried both with and without --interactive, but the commits always shared up as my unix user.

I added a "print "test\n";" to make sure my modify copy was being used, and I did see that output, so I know I was running the right code.

For reference, here's what diff outputs on my side.

--- git-2.7.1/perl/Git/SVN/Ra.pm 2016-02-05 17:31:08.000000000 -0600 +++ local/share/perl/5.10.1/Git/SVN/Ra.pm 2016-02-15 13:06:27.000000000 -0600

@@ -42,7 +42,9 @@ END {

 sub _auth_providers () {
  require SVN::Client;
+ print "test\n";
  my @rv = (
+  SVN::Client::get_username_provider(),
   SVN::Client::get_simple_provider(),
   SVN::Client::get_ssl_server_trust_file_provider(),
   SVN::Client::get_simple_prompt_provider(
@@ -53,7 +55,6 @@ sub _auth_providers () {
   SVN::Client::get_ssl_client_cert_pw_file_provider(),
   SVN::Client::get_ssl_client_cert_pw_prompt_provider(
     \&Git::SVN::Prompt::ssl_client_cert_pw, 2),
-  SVN::Client::get_username_provider(),
   SVN::Client::get_ssl_server_trust_prompt_provider(
     \&Git::SVN::Prompt::ssl_server_trust),
   SVN::Client::get_username_prompt_provider(


Thanks,
Tim
Previous: Eric WongNext: Eric Wong
Message 3 of 5 in “git svn dcommit doesn't support --username option for file:/// urls”
  1. Tim RingenbachFeb 12, 2016
  2. Eric WongFeb 15, 2016
  3. Tim RingenbachFeb 15, 2016
  4. Eric WongFeb 15, 2016
  5. Tim RingenbachFeb 15, 2016

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.