# HG changeset patch # User Greg Ward # Date 2011-10-25 01:33:23 # Node ID ca1412c15efe4d6e93ade5510d49489846f4ccbe # Parent 572c22c88be6f96ecea020229047946b03cc07bb largefiles: test "update --check" It works fine; I'm just getting the test coverage up. diff --git a/tests/test-largefiles.t b/tests/test-largefiles.t --- a/tests/test-largefiles.t +++ b/tests/test-largefiles.t @@ -601,6 +601,11 @@ Rollback on largefiles. $ 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 @@ Rollback on largefiles. $ 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