Mercurial > hg
comparison tests/test-revert.t @ 14745:cae09a39b2d2 stable
test-revert: add case for nothing changed
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 24 Jun 2011 23:29:51 +0200 |
parents | e0039716f3ea |
children | 6ba51c81ff75 |
comparison
equal
deleted
inserted
replaced
14744:23325c5ef6a7 | 14745:cae09a39b2d2 |
---|---|
3 $ echo 123 > a | 3 $ echo 123 > a |
4 $ echo 123 > c | 4 $ echo 123 > c |
5 $ echo 123 > e | 5 $ echo 123 > e |
6 $ hg add a c e | 6 $ hg add a c e |
7 $ hg commit -m "first" a c e | 7 $ hg commit -m "first" a c e |
8 | |
9 nothing changed | |
10 | |
11 $ hg revert | |
12 abort: no files or directories specified | |
13 (use --all to discard all changes) | |
14 [255] | |
15 | |
8 $ echo 123 > b | 16 $ echo 123 > b |
9 | 17 |
10 should show b unknown | 18 should show b unknown |
11 | 19 |
12 $ hg status | 20 $ hg status |