comparison tests/test-largefiles.t @ 15983:32b9aee3602c stable

largefiles: fix revert on missing largefile (issue3217)
author Na'Tosha Bard <natosha@unity3d.com>
date Wed, 25 Jan 2012 16:52:16 +0100
parents bf502ccc46d7
children 41417443b7d0
comparison
equal deleted inserted replaced
15982:bf502ccc46d7 15983:32b9aee3602c
562 562
563 "revert" works on largefiles (and normal files too). 563 "revert" works on largefiles (and normal files too).
564 $ echo hack3 >> normal3 564 $ echo hack3 >> normal3
565 $ echo hack4 >> sub/normal4 565 $ echo hack4 >> sub/normal4
566 $ echo hack4 >> sub/large4 566 $ echo hack4 >> sub/large4
567 $ rm sub2/large6
568 $ hg revert sub2/large6
567 $ hg rm sub2/large6 569 $ hg rm sub2/large6
568 $ echo new >> sub2/large8 570 $ echo new >> sub2/large8
569 $ hg add --large sub2/large8 571 $ hg add --large sub2/large8
570 # XXX we don't really want to report that we're reverting the standin; 572 # XXX we don't really want to report that we're reverting the standin;
571 # that's just an implementation detail. But I don't see an obvious fix. ;-( 573 # that's just an implementation detail. But I don't see an obvious fix. ;-(