Mercurial > hg
annotate tests/test-dirstate-future @ 10073:25919ebaba01
Makefile: update "make clean" target after f91e5630ce7e
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 14 Dec 2009 23:14:50 +0100 |
parents | 1a7bcf58ba56 |
children |
rev | line source |
---|---|
9378
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
1 #!/bin/sh |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
2 |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
3 hg init |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
4 echo a > a |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
5 hg add |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
6 hg ci -m1 |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
7 |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
8 # set mtime of a into the future |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
9 touch -t 202101011200 a |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
10 |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
11 # status must not set a's entry to unset (issue1790) |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
12 hg status |
1a7bcf58ba56
dirstate.write: don't ignore stat data if mtime is in the future (issue1790)
Adrian Buehlmann <adrian@cadifra.com>
parents:
diff
changeset
|
13 hg debugstate |