Index: src/SVN/TSVNPath.cpp
===================================================================
--- src/SVN/TSVNPath.cpp	(revision 8950)
+++ src/SVN/TSVNPath.cpp	(working copy)
@@ -900,7 +900,8 @@
 		sTempRoot.Empty();
 		for (it = m_paths.begin(); it != m_paths.end(); ++it)
 		{
-			const CString& sPath = it->GetWinPathString();
+			CTSVNPath directory = it->GetContainingDirectory();
+			const CString& sPath = directory.GetWinPathString();
 			if (sTempRoot.IsEmpty())
 				sTempRoot = sPath.Left(i);
 			if (sTempRoot.Compare(sPath.Left(i))!=0)


