Mercurial > hg
changeset 15365:ca1412c15efe stable
largefiles: test "update --check"
It works fine; I'm just getting the test coverage up.
author | Greg Ward <greg@gerg.ca> |
---|---|
date | Mon, 24 Oct 2011 21:33:23 -0400 |
parents | 572c22c88be6 |
children | 06b8db3f25c6 |
files | tests/test-largefiles.t |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-largefiles.t Wed Oct 26 12:56:27 2011 -0500 +++ b/tests/test-largefiles.t Mon Oct 24 21:33:23 2011 -0400 @@ -601,6 +601,11 @@ $ cat sub/large4 large4-modified-again +"update --check" refuses to update with uncommitted changes. + $ hg update --check 8 + abort: uncommitted local changes + [255] + "update --clean" leaves correct largefiles in working copy. $ hg update --clean @@ -618,6 +623,16 @@ $ cat sub2/large7 large7 +Now "update check" is happy. + $ hg update --check 8 + 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + getting changed largefiles + 1 largefiles updated, 0 removed + $ hg update --check + 2 files updated, 0 files merged, 0 files removed, 0 files unresolved + getting changed largefiles + 1 largefiles updated, 0 removed + "verify --large" actaully verifies largefiles $ hg verify --large