[PATCH 2 of 2] test-lfs: add coverage for the binary() fileset

Matt Harbison mharbison72 at gmail.com
Thu Jun 21 00:53:49 EDT 2018


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1529556539 14400
#      Thu Jun 21 00:48:59 2018 -0400
# Node ID 09722002b8160300642c26ab3ebda01eb06e8bc4
# Parent  34268c3b609860088271789ddcaf30f8fbd624dd
test-lfs: add coverage for the binary() fileset

This ensures that the blobs don't need to be present to be filtered properly.

diff --git a/tests/test-lfs.t b/tests/test-lfs.t
--- a/tests/test-lfs.t
+++ b/tests/test-lfs.t
@@ -526,6 +526,10 @@ absence doesn't cause an abort.)
   lfs: found 5dde896887f6754c9b15bfe3a441ae4806df2fde94001311e08bf110622e0bbe in the local lfs store
            2   b
 
+  $ hg files --debug -r . 'set:binary()' --config 'experimental.lfs.disableusercache=True'
+           2   a
+           3   c
+
   $ cd ..
 
 # Test fctx.cmp fastpath - diff without LFS blobs


More information about the Mercurial-devel mailing list