Plugins/VcsPlugins/vcsSubversion/subversion.py

changeset 3108
30521d7d3101
parent 3051
f08c20c91de7
child 3142
55030c09e142
child 3160
209a07d7e401
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Sun Nov 24 17:10:51 2013 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Sun Nov 24 17:52:37 2013 +0100
@@ -2257,6 +2257,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