sapling/tests/test-requires.t

20 lines
476 B
Perl
Raw Normal View History

$ hg init t
2010-08-30 09:04:38 +04:00
$ cd t
$ echo a > a
$ hg add a
$ hg commit -m test
2010-08-30 09:04:38 +04:00
$ rm .hg/requires
$ hg tip
abort: index 00changelog.i unknown format 2!
2010-09-17 02:51:32 +04:00
[255]
2010-08-30 09:04:38 +04:00
$ echo indoor-pool > .hg/requires
$ hg tip
abort: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)!
[255]
$ echo outdoor-pool >> .hg/requires
$ hg tip
abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)!
2010-09-17 02:51:32 +04:00
[255]
$ cd ..