##// END OF EJS Templates
tests: use pyflakes as a tool, not a python module...
tests: use pyflakes as a tool, not a python module The usage of pyflakes as a Python module was introduced in e397c6d74652, to work around issue between Python 2 and Python 3. This issues are long behind us now and we can get beck to using pyflakes as a tool, giving us more flexibility about how we install it. The `hghave` requirements is modified to check that we have a tool available, instead of a python module.

File last commit:

r51190:4bcb91c8 stable
r52956:43602c67 default
Show More
test-empty.t
50 lines | 653 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
Raphaël Gomès
tests: use the `--quiet` flag for verify when applicable...
r50720 $ hg verify -q
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
share-safe: enable by default (BC)...
r49515 Should be empty (except for the "basic" requires):
Matt Mackall
tests: unify test-empty
r11743
$ ls .hg/store
share-safe: enable by default (BC)...
r49515 requires
Matt Mackall
tests: unify test-empty
r11743
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
Raphaël Gomès
tests: use the `--quiet` flag for verify when applicable...
r50720 $ hg verify -q
Matt Mackall
tests: unify test-empty
r11743 $ ls .hg
00changelog.i
transaction: use the standard transaction mechanism to backup branch...
r51090 branch
clone: make sure we warm the cache after a clone...
r47032 cache
Matt Mackall
tests: unify test-empty
r11743 hgrc
requires
store
clone: use "official" API to create local clone destination...
r48235 wcache
Matt Mackall
tests: unify test-empty
r11743
share-safe: enable by default (BC)...
r49515 Should be empty (except for the "basic" requires):
Matt Mackall
tests: unify test-empty
r11743
$ ls .hg/store
share-safe: enable by default (BC)...
r49515 requires
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..