[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    [Issue 1337] New - store-password=yes does not work
From:       issues () subversion ! tigris ! org
Date:       2003-05-28 7:04:05
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=1337

*** Old
--- New
***************
*** 0 ****
--- 1,36 ----
+ +============================================================================+
+ | store-password=yes does not work                                           |
+ +----------------------------------------------------------------------------+
+ |      Issue #: 1337                      Component: subversion              |
+ |       Status: NEW                         Version: current                 |
+ |   Resolution:                            Platform: PC                      |
+ |   Issue type: PATCH                    OS/Version: Windows 2000            |
+ |     Priority: P3                     Subcomponent: src                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: issues@subversion                                            |
+ |  Reported By: mahae                                                        |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |    Milestone: TargetMilestone: ---                                         |
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When store-password=yes is in the config file, the password isn't 
+ cached. When there is no store-password line in the config file, the 
+ password is cached.
+ 
+ Here is the patch:
+ 
+ --- main.c	(revision 6076)
+ +++ main.c	(working copy)
+ @@ -1031,7 +1031,7 @@
+      svn_config_get (cfg, &store_password_val,
+                      SVN_CONFIG_SECTION_AUTH, 
+ SVN_CONFIG_OPTION_STORE_PASSWORD,
+                      NULL);
+ -    if (opt_state.no_auth_cache || store_password_val)
+ +    if (opt_state.no_auth_cache || (store_password_val && !stricmp
+ (store_password_val,"no")))
+        svn_auth_set_parameter(ab, SVN_AUTH_PARAM_NO_AUTH_CACHE,
+                               (void *) "");
+    }
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
For additional commands, e-mail: issues-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic