view tests/test-dirstate-future @ 9867:81f1462ef2c7

Allow import --no-commit over an applied MQ patch. Since it only changes the working directory, it does not matter whether a patch is applied. This change makes it easier to use hg import --no-commit instead of patch.
author Brendan Cully <brendan@kublai.com>
date Mon, 16 Nov 2009 11:31:08 -0800
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