view tests/test-dirstate-future @ 10718:f18c37fd624f

check-code: Add a ``maxerr`` argument to the ``checkfile`` function check-code.py used to halt after 15 errors. This changeset adds a new argument to the checkfile function to control this limit.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 16 Mar 2010 19:52:58 +0100
parents 1a7bcf58ba56
children
line wrap: on
line source

#!/bin/sh

hg init
echo a > a
hg add
hg ci -m1

# set mtime of a into the future
touch -t 202101011200 a

# status must not set a's entry to unset (issue1790)
hg status
hg debugstate