• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28664 (tree)
Time2019-10-01 03:21:51
Authorstefankueng

Log Message

Handle root paths correctly: root paths have a slash at the end unlike other paths.

Change Summary

Incremental Difference

--- trunk/src/SVN/SVNStatusListCtrl.h (revision 28663)
+++ trunk/src/SVN/SVNStatusListCtrl.h (revision 28664)
@@ -1,6 +1,6 @@
11 // TortoiseSVN - a Windows shell extension for easy version control
22
3-// Copyright (C) 2003-2015, 2017-2018 - TortoiseSVN
3+// Copyright (C) 2003-2015, 2017-2019 - 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
@@ -332,6 +332,8 @@
332332 {
333333 if ((!allowempty)&&(path.IsEquivalentTo(basepath)))
334334 return path.GetSVNPathString();
335+ if (basepath.GetSVNPathString().Mid(1,2)==L":/")
336+ return path.GetSVNPathString().Mid(basepath.GetSVNPathString().GetLength());
335337 return path.GetSVNPathString().Mid(basepath.GetSVNPathString().GetLength()+1);
336338 }
337339 const bool IsLocked() const
Show on old repository browser