##// END OF EJS Templates
typing: add stub functions for `cext/charencoding`...
typing: add stub functions for `cext/charencoding` I'm not sure if it's better to have a separate file, and currently pytype doesn't really know how to handle these, so it's no help in figuring that out. Technically, these methods are part of the `mercurial.cext.parsers` module, so put them into the existing stub until there's a reason to split it out.

File last commit:

r51190:4bcb91c8 stable
r52834:e58f02e2 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 ..