Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py

changeset 248
f4561c24989a
parent 216
6f9713e8d570
child 495
b31b0bffa5b0
child 792
a13346916170
--- a/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py	Fri May 14 17:23:52 2010 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/ProjectBrowserHelper.py	Fri May 14 17:26:38 2010 +0200
@@ -861,7 +861,7 @@
             name = self.browser.currentItem().fileName()
         except AttributeError:
             name = self.browser.currentItem().dirName()
-        name = name.replace(self.project.ppath+os.sep, "")
+        name = self.project.getRelativePath(name)
         self.vcs.svnInfo(self.project.ppath, name)
         
     def __SVNConfigure(self):
@@ -908,4 +908,4 @@
         for itm in items:
             if isinstance(itm, ProjectBrowserFileItem):
                 return True
-        return False
+        return False
\ No newline at end of file

eric ide

mercurial