hgext/largefiles/basestore.py
changeset 47012 d55b71393907
parent 46907 ffd3e823a7e5
child 48875 6000f5b25c9b
--- a/hgext/largefiles/basestore.py	Mon Apr 19 20:38:52 2021 -0400
+++ b/hgext/largefiles/basestore.py	Mon Mar 29 01:52:06 2021 +0200
@@ -11,7 +11,8 @@
 
 from mercurial.i18n import _
 
-from mercurial import node, util
+from mercurial.node import short
+from mercurial import util
 from mercurial.utils import (
     urlutil,
 )
@@ -137,7 +138,7 @@
         filestocheck = []  # list of (cset, filename, expectedhash)
         for rev in revs:
             cctx = self.repo[rev]
-            cset = b"%d:%s" % (cctx.rev(), node.short(cctx.node()))
+            cset = b"%d:%s" % (cctx.rev(), short(cctx.node()))
 
             for standin in cctx:
                 filename = lfutil.splitstandin(standin)