eric6/Plugins/VcsPlugins/vcsMercurial/hg.py

branch
maintenance
changeset 8400
b3eefd7e58d1
parent 8273
698ae46f40a4
parent 8381
600bf716cb9d
diff -r 197414ba11cc -r b3eefd7e58d1 eric6/Plugins/VcsPlugins/vcsMercurial/hg.py
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/hg.py	Sat May 01 14:27:38 2021 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/hg.py	Thu Jun 03 11:39:23 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