Plugins/VcsPlugins/vcsSubversion/subversion.py

branch
Py2 comp.
changeset 3142
55030c09e142
parent 3141
72f3bde98c58
parent 3108
30521d7d3101
child 3145
a9de05d4a22f
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Fri Dec 13 22:45:47 2013 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Fri Dec 13 23:39:14 2013 +0100
@@ -2262,6 +2262,21 @@
                                 changelists.append(changelist)
         
         return changelists
+        
+    def svnUpgrade(self, path):
+        """
+        Public method to upgrade the working copy format.
+        
+        @param path directory name to show change lists for (string)
+        """
+        args = []
+        args.append("upgrade")
+        args.append(".")
+        
+        dia = SvnDialog(self.trUtf8('Upgrade'))
+        res = dia.startProcess(args, path)
+        if res:
+            dia.exec_()
 
     ###########################################################################
     ## Private Subversion specific methods are below.

eric ide

mercurial