mercurial/revset.py
changeset 45701 b90d7e7f39db
parent 45686 17a12f53dd72
child 45725 99b8b73eb622
--- a/mercurial/revset.py	Wed Sep 09 16:18:26 2020 +0900
+++ b/mercurial/revset.py	Fri Oct 09 19:19:10 2020 +0900
@@ -2287,13 +2287,13 @@
 
 
 _sortkeyfuncs = {
-    b'rev': lambda c: c.rev(),
+    b'rev': scmutil.intrev,
     b'branch': lambda c: c.branch(),
     b'desc': lambda c: c.description(),
     b'user': lambda c: c.user(),
     b'author': lambda c: c.user(),
     b'date': lambda c: c.date()[0],
-    b'node': lambda c: c.node(),
+    b'node': scmutil.binnode,
 }