[PATCH] tests: make test-check-code.t work with lz4revlog repositories

Laurent Charignon lcharignon at fb.com
Wed Jan 6 15:34:07 CST 2016


On Jan 6, 2016, at 1:28 PM, Martin von Zweigbergk <martinvonz at google.com<mailto:martinvonz at google.com>> wrote:



On Wed, Jan 6, 2016 at 1:00 PM Laurent Charignon <lcharignon at fb.com<mailto:lcharignon at fb.com>> wrote:
# HG changeset patch
# User Laurent Charignon <lcharignon at fb.com<mailto:lcharignon at fb.com>>
# Date 1452113953 28800
#      Wed Jan 06 12:59:13 2016 -0800
# Node ID 11457f74b5e9522c2b863b332656c891133202ea
# Parent  b8405d739149cdd6d8d9bd5e3dd2ad8487b1f09a
tests: make test-check-code.t work with lz4revlog repositories

Before this patch 'hg locate' would fail on repositories with lz4revlog.
This makes test-check-code.t more reusable for other repositories and make it
work for clones of the repository that use lz4revlog.

I don't follow. Are you running test-check-code.t in a clone of hg with lz4revlog enabled? How about test-check-execute.t and others that run 'hg files', why don't they also fail?


I was running test-check-code on other repos (not hg core) and I ran into this issue.
I have not run all the tests against an lz4revlog enabled clone of hg.

Thanks,

Laurent


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20160106/445c9987/attachment.html>


More information about the Mercurial-devel mailing list