equal
deleted
inserted
replaced
787 $ hg log -r8 -C -T '{file_copies_switch % "{path} <- {source}\n"}' |
787 $ hg log -r8 -C -T '{file_copies_switch % "{path} <- {source}\n"}' |
788 fourth <- second |
788 fourth <- second |
789 |
789 |
790 Test file attributes: |
790 Test file attributes: |
791 |
791 |
792 $ hg log -l1 -T '{files % "{pad(size, 3, left=True)} {path}\n"}' |
792 $ hg log -l1 -T '{files % "{status} {pad(size, 3, left=True)} {path}\n"}' |
793 a |
793 R a |
794 0 b |
794 A 0 b |
795 7 fifth |
795 A 7 fifth |
796 fourth |
796 R fourth |
797 13 third |
797 M 13 third |
|
798 |
|
799 Test file status including clean ones: |
|
800 |
|
801 $ hg log -r9 -T '{files("**") % "{status} {path}\n"}' |
|
802 A a |
|
803 C fourth |
|
804 C third |
798 |
805 |
799 Test index keyword: |
806 Test index keyword: |
800 |
807 |
801 $ hg log -l 2 -T '{index + 10}{files % " {index}:{file}"}\n' |
808 $ hg log -l 2 -T '{index + 10}{files % " {index}:{file}"}\n' |
802 10 0:a 1:b 2:fifth 3:fourth 4:third |
809 10 0:a 1:b 2:fifth 3:fourth 4:third |