tests/test-hghave.t
author |
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
|
Fri, 29 Mar 2013 22:57:15 +0900 |
changeset 18992 |
a54ddfae8907 |
parent 12430 |
60738066e37a
|
child 25472 |
4d2b9b304ad0 |
permissions |
-rw-r--r-- |
annotate: reuse already calculated annotation
Before this patch, annotation is re-calculated even if it is already
calculated. This may cause unexpected annotation, because already
cleared "pcache" ("pcache[f] = []") prevents from scanning ancestors.
This patch reuses already calculated annotation if it is available.
In fact, "reusable" situation should be seen only on legacy
repositories in which a filelog include the merging between the
revision and its ancestor, because:
- tree is scanned in depth-first
without such merging, annotation result should be released soon
- recent Mercurial doesn't allow such merging
changelog and manifest can include such merging someway, but
filelogs can't, because "localrepository._filecommit()" converts
such merging request to linear history.
12430
|
1 |
Testing that hghave does not crash when checking features
|
8059
41a2c5cbcb6a
hghave: checking that all targets are Exception-free
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff
changeset
|
2 |
|
12430
|
3 |
$ "$TESTDIR/hghave" --test-features 2>/dev/null
|