##// END OF EJS Templates
dirstate: pre-indent some of the backup code...
dirstate: pre-indent some of the backup code This will make the next changeset clearer.

File last commit:

r50720:2f2682f4 default
r50896:9313d866 default
Show More
test-empty.t
50 lines | 655 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
clone: make sure we warm the cache after a clone...
r47032 cache
clone: reuse the stream clone logic for local clone...
r48240 dirstate
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 ..