tests/test-revlog.t
changeset 47089 4c041c71ec01
parent 46717 913485776542
child 47164 8d3c2f9d4af7
--- a/tests/test-revlog.t	Tue May 04 08:54:28 2021 -0700
+++ b/tests/test-revlog.t	Tue Apr 06 05:20:24 2021 +0200
@@ -45,9 +45,10 @@
        0       2 99e0332bd498 000000000000 000000000000
        1       3 6674f57a23d8 99e0332bd498 000000000000
 
+  >>> from mercurial.revlogutils.constants import KIND_OTHER
   >>> from mercurial import revlog, vfs
   >>> tvfs = vfs.vfs(b'.')
   >>> tvfs.options = {b'revlogv1': True}
-  >>> rl = revlog.revlog(tvfs, b'a.i')
+  >>> rl = revlog.revlog(tvfs, target=(KIND_OTHER, b'test'), indexfile=b'a.i')
   >>> rl.revision(1)
   mpatchError(*'patch cannot be decoded'*) (glob)