• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28221 (tree)
Time2018-05-16 05:09:35
Authorstefankueng

Log Message

Don't treat URLs special when showing the log: escaping/unescaping is already properly done in the CTSVNPath object.

Change Summary

Incremental Difference

--- trunk/src/Changelog.txt (revision 28220)
+++ trunk/src/Changelog.txt (revision 28221)
@@ -10,6 +10,8 @@
1010 - BUG: Wrong titles when editing a conflict. (Stefan)
1111 - BUG: Unshelving failed when the shelve name
1212 contained non-ASCII chars. (Stefan)
13+- BUG: Showing the log if the repo url contained
14+ special chars sometimes failed. (Stefan)
1315
1416 Version 1.10.0
1517 See the release notes here:
--- trunk/src/LogCache/CacheLogQuery.cpp (revision 28220)
+++ trunk/src/LogCache/CacheLogQuery.cpp (revision 28221)
@@ -1,6 +1,6 @@
1-// TortoiseSVN - a Windows shell extension for easy version control
1+// TortoiseSVN - a Windows shell extension for easy version control
22
3-// Copyright (C) 2007-2016 - TortoiseSVN
3+// Copyright (C) 2007-2016, 2018 - TortoiseSVN
44
55 // This program is free software; you can redistribute it and/or
66 // modify it under the terms of the GNU General Public License
@@ -1355,11 +1355,7 @@
13551355 throw SVNError ( SVN_ERR_INCORRECT_PARAMS
13561356 , "Must specify exactly one path to get the log from.");
13571357
1358- // GetURLFromPath() always returns the URL escaped, so we have to escape the url we
1359- // get from the client too.
1360- return targets [0].IsUrl()
1361- ? CTSVNPath (CUnicodeUtils::GetUnicode(CPathUtils::PathEscape(CUnicodeUtils::GetUTF8(targets [0].GetSVNPathString()))))
1362- : targets [0];
1358+ return targets [0];
13631359 }
13641360
13651361 // construction / destruction
Show on old repository browser