manifest: now that node.bin is available, use it directly
authorAugie Fackler <augie@google.com>
Sun, 12 Mar 2017 03:30:15 -0400
changeset 31366 45347d4a4f07
parent 31365 28e3471a21ef
child 31367 ef50b491c17d
manifest: now that node.bin is available, use it directly Previously we were getting it through revlog, which is a little unusual.
mercurial/manifest.py
--- a/mercurial/manifest.py	Sun Mar 12 03:29:48 2017 -0400
+++ b/mercurial/manifest.py	Sun Mar 12 03:30:15 2017 -0400
@@ -38,9 +38,9 @@
         prev = l
         f, n = l.split('\0')
         if len(n) > 40:
-            yield f, revlog.bin(n[:40]), n[40:]
+            yield f, bin(n[:40]), n[40:]
         else:
-            yield f, revlog.bin(n), ''
+            yield f, bin(n), ''
 
 def _parsev2(data):
     metadataend = data.find('\n')