mercurial/cext/revlog.c
changeset 43554 b56de57c45ce
parent 43552 bd87114ce341
child 43582 ae5e39512ca0
--- a/mercurial/cext/revlog.c	Sat Nov 09 13:23:51 2019 +0100
+++ b/mercurial/cext/revlog.c	Sat Nov 09 13:23:51 2019 +0100
@@ -2746,6 +2746,8 @@
     {"clearcaches", (PyCFunction)index_clearcaches, METH_NOARGS,
      "clear the index caches"},
     {"get", (PyCFunction)index_m_get, METH_VARARGS, "get an index entry"},
+    {"get_rev", (PyCFunction)index_m_get, METH_VARARGS,
+     "return `rev` associated with a node or None"},
     {"has_node", (PyCFunction)index_m_has_node, METH_O,
      "return True if the node exist in the index"},
     {"rev", (PyCFunction)index_m_rev, METH_O,