Mercurial: fixed an issue committing a new branch.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 25 May 2021 17:37:59 +0200
changeset 8381
600bf716cb9d
parent 8380
73ef1edca602
child 8392
d6d08deb3570

Mercurial: fixed an issue committing a new branch.
(grafted from d8b21357363851b8b3808934a6299b500667ea94)

eric6/Plugins/VcsPlugins/vcsMercurial/hg.py file | annotate | diff | comparison | revisions
--- 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