Mercurial: fixed an issue committing a new branch. eric7

Tue, 25 May 2021 17:37:59 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 25 May 2021 17:37:59 +0200
branch
eric7
changeset 8378
d8b213573638
parent 8377
ea65a8f4ff49
child 8382
28f7ef365d1b

Mercurial: fixed an issue committing a new branch.

eric7/Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- a/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue May 25 17:17:04 2021 +0200
+++ b/eric7/Plugins/VcsPlugins/vcsMercurial/hg.py	Tue May 25 17:37:59 2021 +0200
@@ -1835,8 +1835,9 @@
             if res:
                 dia.exec()
                 if commit:
+                    project = ericApp().getObject("Project")
                     self.vcsCommit(
-                        name,
+                        project.getProjectPath(),
                         self.tr("Created new branch <{0}>.").format(
                             name))
     

eric ide

mercurial