Fix potential situation in which credentials are not saved to cache when they have changed.
Fix potential situation in which credentials are not saved to cache when
they have changed.

If cached username and new username differ but passwords are the same,
'need_to_save' flag will be overwritten to FALSE, and new credentials
fill not be saved.

* subversion/libsvn_subr/simple_providers.c
(svn_auth__simple_creds_cache_get): Stop setting need_to_save to FALSE.

Patch by: Dmitry Pavlenko <pavlenko{_AT_}tmatesoft.com>


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1361123 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion