Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/HgBookmarkRenameDialog.py

changeset 3408
b6e6a7062d12
parent 3366
6084bb3c3911
child 3484
645c12de6b0c
--- a/Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/HgBookmarkRenameDialog.py	Wed Mar 19 18:47:05 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/BookmarksExtension/HgBookmarkRenameDialog.py	Wed Mar 19 19:26:30 2014 +0100
@@ -68,4 +68,7 @@
         @return tuple naming the new and old bookmark names
             (string, string)
         """
-        return self.nameEdit.text(), self.bookmarkCombo.currentText()
+        return (
+            self.nameEdit.text().replace(" ", "_"),
+            self.bookmarkCombo.currentText().replace(" ", "_")
+        )

eric ide

mercurial