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

Re: [PATCH 1/2] git-svn: use platform specific auth providers

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 4, 2012, 19:26 UTC
Message-ID
<7vwr3mswsr.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120604090016.GA4023@login.drsnuggles.stderr.nl>
Matthijs Kooijman <matthijs@stdin.nl> writes:
Show 11 quoted lines
> It seems this is indeed the case. I can't remember what I based the
> 1.6.12 on, but looking at the svn changelog [1], the first working version
> is 1.6.15:
>
>     Version 1.6.15
>     [...]
>        * improve some swig parameter mapping (r984565, r1035745)
>
> [1]: http://svn.apache.org/repos/asf/subversion/trunk/CHANGES
>
> Gr.

Thanks. I find that "improve some mapping" is a bit too subtle way to say "we are fixing a bug that can lead to a segfault" to my taste, though ;-)

Eric, I can directly queue this as a regression fix in my tree, you can eyeball and give your blessing (or "No, that is wrong--here is the right version" is even better), or you can queue it and tell me to pull from you. How do we want to proceed?

-- >8 --
Subject: [PATCH] git-svn: platform auth providers are working only on 1.6.15
 or newer

Matthijs Kooijman reports that the cut-off point 082afee (git-svn: use platform specific auth providers, 2012-04-26) set at 1.6.12 to use this feature safely was incorrect, and it is 1.6.15 instead:

    http://svn.apache.org/repos/asf/subversion/trunk/CHANGES
    Version 1.6.15
       * improve some swig parameter mapping (r984565, r1035745)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 git-svn.perl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-svn.perl b/git-svn.perl
index 1a17f94..abbd6b8 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -5481,7 +5481,7 @@ ()
 
 	# earlier 1.6.x versions would segfault, and <= 1.5.x didn't have
 	# this function
-	if (::compare_svn_version('1.6.12') > 0) {
+	if (::compare_svn_version('1.6.15') >= 0) {
 		my $config = SVN::Core::config_get_config($config_dir);
 		my ($p, @a);
 		# config_get_config returns all config files from
-- 
1.7.11.rc1.2.g33fe195
Previous: Matthijs KooijmanNext: Eric Wong
Message 33 of 35 in “git-svn won't remember pem password”
  1. IgorFeb 18, 2012
  2. Jakub NarebskiFeb 18, 2012
  3. Nikolaus DemmelFeb 19, 2012
  4. Jeff KingFeb 20, 2012
  5. Nikolaus DemmelFeb 20, 2012
  6. Eric WongFeb 19, 2012
  7. Matthijs KooijmanApr 26, 2012
  8. IgorApr 26, 2012
  9. Matthijs KooijmanApr 26, 2012
  10. 1/2 git-svn: use platform specific auth providersMatthijs Kooijman, Apr 26, 2012
  11. 2/2 git-svn: Configure a prompt callback for gnome_keyring.Matthijs Kooijman, Apr 26, 2012
  12. Eric WongApr 27, 2012
  13. Matthijs KooijmanApr 27, 2012
  14. Matthijs KooijmanJun 18, 2013
  15. git-svn: Configure a prompt callback for gnome_keyring.Matthijs Kooijman, Jun 18, 2013
  16. Matthijs KooijmanAug 29, 2013
  17. Eric WongAug 29, 2013
  18. Matthijs KooijmanApr 27, 2012
  19. Eric WongApr 27, 2012
  20. Matthijs KooijmanApr 27, 2012
  21. Eric WongApr 29, 2012
  22. Junio C HamanoApr 30, 2012
  23. Junio C HamanoApr 30, 2012
  24. Eric WongApr 30, 2012
  25. Junio C HamanoApr 30, 2012
  26. Matthijs KooijmanApr 30, 2012
  27. Eric WongApr 30, 2012
  28. Matthijs KooijmanApr 30, 2012
  29. Junio C HamanoMay 1, 2012
  30. Charles BaileyJun 3, 2012
  31. Junio C HamanoJun 3, 2012
  32. Matthijs KooijmanJun 4, 2012
  33. Junio C HamanoJun 4, 2012
  34. Eric WongJun 4, 2012
  35. Eric WongAug 29, 2013

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.