Plugins/VcsPlugins/vcsSubversion/subversion.py

changeset 5597
3d88d53f8c2b
parent 5593
0f61eae74237
child 5624
cdd346d8858b
--- a/Plugins/VcsPlugins/vcsSubversion/subversion.py	Thu Mar 09 17:56:06 2017 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/subversion.py	Thu Mar 09 19:28:59 2017 +0100
@@ -350,7 +350,7 @@
             else:
                 if not tag.startswith('tags') and \
                         not tag.startswith('branches'):
-                    type, ok = QInputDialog.getItem(
+                    tagType, ok = QInputDialog.getItem(
                         None,
                         self.tr("Subversion Checkout"),
                         self.tr(
@@ -361,7 +361,7 @@
                         0, False)
                     if not ok:
                         return False
-                    tag = '{0}/{1}'.format(type, tag)
+                    tag = '{0}/{1}'.format(tagType, tag)
                 svnUrl = '{0}/{1}'.format(vcsDir, tag)
         else:
             svnUrl = vcsDir
@@ -406,7 +406,7 @@
             else:
                 if not tag.startswith('tags') and \
                         not tag.startswith('branches'):
-                    type, ok = QInputDialog.getItem(
+                    tagType, ok = QInputDialog.getItem(
                         None,
                         self.tr("Subversion Export"),
                         self.tr(
@@ -417,7 +417,7 @@
                         0, False)
                     if not ok:
                         return False
-                    tag = '{0}/{1}'.format(type, tag)
+                    tag = '{0}/{1}'.format(tagType, tag)
                 svnUrl = '{0}/{1}'.format(vcsDir, tag)
         else:
             svnUrl = vcsDir

eric ide

mercurial