hgext/phabricator.py
changeset 47055 d55b71393907
parent 46907 ffd3e823a7e5
child 47084 7431f5ab0d2a
--- a/hgext/phabricator.py	Mon Apr 19 20:38:52 2021 -0400
+++ b/hgext/phabricator.py	Mon Mar 29 01:52:06 2021 +0200
@@ -69,7 +69,7 @@
 import re
 import time
 
-from mercurial.node import bin, nullid, short
+from mercurial.node import bin, short
 from mercurial.i18n import _
 from mercurial.pycompat import getattr
 from mercurial.thirdparty import attr
@@ -586,7 +586,7 @@
                 tags.tag(
                     repo,
                     tagname,
-                    nullid,
+                    repo.nullid,
                     message=None,
                     user=None,
                     date=None,
@@ -1606,7 +1606,7 @@
                         tags.tag(
                             repo,
                             tagname,
-                            nullid,
+                            repo.nullid,
                             message=None,
                             user=None,
                             date=None,