sapling/eden/scm/tests/test-fb-hgext-catnotate.t
Jun Wu 75a8173a10 tests: enable chg for 572 tests
Summary:
Add `#chg-compatible` to 572 tests that seem to pass with chg enabled.
This should make them run faster.

Reviewed By: xavierd

Differential Revision: D18870507

fbshipit-source-id: fe895e733efffc9286cd3d17c7a156c803124395
2019-12-09 15:26:29 -08:00

47 lines
611 B
Perl

#chg-compatible
Test catnotate
$ enable catnotate
$ hg init repo1
$ cd repo1
$ cat > a <<EOF
> Hell
> on
> world
> EOF
$ cat > b <<EOF
> Hello
> world
> EOF
$ printf "\0\n" >> b
$ hg add a b
$ hg commit -m "Hello :)"
$ hg catnotate a b
a:1: Hell
a:2: on
a:3: world
a:4:
b: binary file
$ hg catnotate -a a b
a:1: Hell
a:2: on
a:3: world
a:4:
b:1: Hello
b:2: world
b:3: \x00 (esc)
b:4:
$ hg update 0
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg catnotate --rev . a
a:1: Hell
a:2: on
a:3: world
a:4: