##// END OF EJS Templates
narrow: fix flaky behavior described in issue6150...
narrow: fix flaky behavior described in issue6150 This has been plaguing the CI for a good while, and it doesn't appear to have an easy fix proposed yet. The solution in this change is to always do an unambiguous (but expensive) lookup in case of comparison. This should always be correct, albeit suboptimal. Differential Revision: https://phab.mercurial-scm.org/D10034

File last commit:

r46868:f6259840 default
r47280:b994db7c stable
Show More
test-empty.t
56 lines | 857 B | text/troff | Tads3Lexer
Matt Mackall
tests: unify test-empty
r11743 Create an empty repo:
$ hg init a
$ cd a
Try some commands:
$ hg log
$ hg grep wah
Matt Mackall
tests: add exit codes to unified tests
r12316 [1]
Matt Mackall
tests: unify test-empty
r11743 $ hg manifest
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Meirambek Omyrzak
verify: make output less confusing (issue5924)...
r39525 checked 0 changesets with 0 changes to 0 files
Matt Mackall
tests: unify test-empty
r11743
Check the basic files created:
$ ls .hg
00changelog.i
Boris Feld
cache: create `cache` directory at init time...
r40824 cache
Matt Mackall
tests: unify test-empty
r11743 requires
store
Boris Feld
cache: create `wcache` directory at init time...
r40825 wcache
Matt Mackall
tests: unify test-empty
r11743
Should be empty:
$ ls .hg/store
Poke at a clone:
$ cd ..
$ hg clone a b
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd b
$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
Meirambek Omyrzak
verify: make output less confusing (issue5924)...
r39525 checked 0 changesets with 0 changes to 0 files
Matt Mackall
tests: unify test-empty
r11743 $ ls .hg
00changelog.i
clone: make sure we warm the cache after a clone...
r47032 cache
Matt Mackall
tests: unify test-empty
r11743 hgrc
requires
store
Should be empty:
$ ls .hg/store
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..