changeset 31366:45347d4a4f07

manifest: now that node.bin is available, use it directly Previously we were getting it through revlog, which is a little unusual.
author Augie Fackler <augie@google.com>
date Sun, 12 Mar 2017 03:30:15 -0400
parents 28e3471a21ef
children ef50b491c17d
files mercurial/manifest.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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')