comparison tests/test-largefiles-update.t @ 23090:24600c9d7f4e stable

largefiles: add examination of exec bit in "hg status --rev REV" case Before this patch, "hg status --rev REV" doesn't list largefiles up with "M" mark, even if exec bit of them is changed, because "lfilesrepo.status" doesn't examine exec bit in such case.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 28 Oct 2014 01:14:12 +0900
parents 197dc4580da2
children f726b05ecfe6 7f8d27e1f862
comparison
equal deleted inserted replaced
23089:197dc4580da2 23090:24600c9d7f4e
550 $ hg remove largeX 550 $ hg remove largeX
551 $ hg status -A largeX 551 $ hg status -A largeX
552 R largeX 552 R largeX
553 $ hg status -A --rev '.^1' largeX 553 $ hg status -A --rev '.^1' largeX
554 554
555 #if execbit
556
557 Test that "hg status" against revisions other than parent notices exec
558 bit changes of largefiles.
559
560 $ hg update -q -C 4
561
562 (the case that large2 doesn't have exec bit in the target context but
563 in the working context)
564
565 $ chmod +x large2
566 $ hg status -A --rev 0 large2
567 M large2
568 $ hg commit -m 'chmod +x large2'
569
570 (the case that large2 has exec bit in the target context but not in
571 the working context)
572
573 $ echo dummy > dummy
574 $ hg add dummy
575 $ hg commit -m 'revision for separation'
576 $ chmod -x large2
577 $ hg status -A --rev '.^1' large2
578 M large2
579
580 #endif
581
555 $ cd .. 582 $ cd ..