Fixed an issue in the Subversion vcsMove method.

Wed, 21 May 2014 18:47:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 21 May 2014 18:47:56 +0200
changeset 3598
37fdb72a2388
parent 3597
137370f7114b
child 3600
7d17c492ab95

Fixed an issue in the Subversion vcsMove method.

Plugins/VcsPlugins/vcsPySvn/subversion.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/subversion.py file | annotate | diff | comparison | revisions
--- a/Plugins/VcsPlugins/vcsPySvn/subversion.py	Tue May 20 19:26:52 2014 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/subversion.py	Wed May 21 18:47:56 2014 +0200
@@ -915,6 +915,8 @@
             accepted = (dlg.exec_() == QDialog.Accepted)
             if accepted:
                 target, force = dlg.getData()
+            if not target:
+                return False
         
         if not rx_prot.exactMatch(target):
             isDir = os.path.isdir(name)
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Tue May 20 19:26:52 2014 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Wed May 21 18:47:56 2014 +0200
@@ -844,6 +844,8 @@
             accepted = (dlg.exec_() == QDialog.Accepted)
             if accepted:
                 target, force = dlg.getData()
+            if not target:
+                return False
         
         if not rx_prot.exactMatch(target):
             isDir = os.path.isdir(name)

eric ide

mercurial