Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py

changeset 1924
97b2fcc8a855
parent 1886
732f94385668
child 2302
f29e9405c851
--- a/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py	Sat Jun 30 14:19:09 2012 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py	Sat Jun 30 17:03:09 2012 +0200
@@ -26,6 +26,7 @@
 from .Ui_SvnStatusDialog import Ui_SvnStatusDialog
 
 import Preferences
+import Utilities
 
 
 class SvnStatusDialog(QWidget, SvnDialogMixin, Ui_SvnStatusDialog):
@@ -310,8 +311,9 @@
                     else:
                         depth = pysvn.depth.immediate
                     changelists = self.client.get_changelist(name, depth=depth)
-                    for entry in changelists:
-                        changelistsDict[entry[0]] = entry[1]
+                    for fpath, changelist in changelists:
+                        fpath = Utilities.normcasepath(fpath)
+                        changelistsDict[fpath] = changelist
                 hideChangelistColumn = hideChangelistColumn and \
                     len(changelistsDict) == 0
                 
@@ -344,7 +346,7 @@
                              file.entry.lock_token != file.repos_lock["token"]:
                             lockState = "S"
                     
-                    fpath = os.path.join(self.dname, file.path)
+                    fpath = Utilities.normcasepath(os.path.join(self.dname, file.path))
                     if fpath in changelistsDict:
                         changelist = changelistsDict[fpath]
                     else:

eric ide

mercurial