eric6/Plugins/VcsPlugins/vcsMercurial/hg.py

changeset 8381
600bf716cb9d
parent 8259
2bbec88047dd
child 8400
b3eefd7e58d1
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/hg.py	Sun May 23 18:45:54 2021 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue May 25 17:37:59 2021 +0200
@@ -1835,8 +1835,9 @@
             if res:
                 dia.exec()
                 if commit:
+                    project = e5App().getObject("Project")
                     self.vcsCommit(
-                        name,
+                        project.getProjectPath(),
                         self.tr("Created new branch <{0}>.").format(
                             name))
     

eric ide

mercurial