Show More
@@ -798,6 +798,23 b' Test files list:' | |||||
798 | fourth |
|
798 | fourth | |
799 | third |
|
799 | third | |
800 |
|
800 | |||
|
801 | Test files lists on merge commit: | |||
|
802 | ||||
|
803 | $ hg co '.^' -q | |||
|
804 | $ touch c | |||
|
805 | $ hg add c | |||
|
806 | $ hg ci -qm 'add file' | |||
|
807 | $ hg merge 10 -q | |||
|
808 | $ hg ci -m 'merge' | |||
|
809 | $ hg log -l1 -T '{files}\n' | |||
|
810 | a fourth | |||
|
811 | $ hg log -l1 -T '{file_mods}\n' | |||
|
812 | third | |||
|
813 | $ hg log -l1 -T '{file_adds}\n' | |||
|
814 | b fifth | |||
|
815 | $ hg log -l1 -T '{file_dels}\n' | |||
|
816 | a fourth | |||
|
817 | ||||
801 | Test file copies dict: |
|
818 | Test file copies dict: | |
802 |
|
819 | |||
803 | $ hg log -r8 -T '{join(file_copies, " ")}\n' |
|
820 | $ hg log -r8 -T '{join(file_copies, " ")}\n' | |
@@ -818,7 +835,7 b' Test file copies dict:' | |||||
818 |
|
835 | |||
819 | Test file attributes: |
|
836 | Test file attributes: | |
820 |
|
837 | |||
821 |
$ hg log - |
|
838 | $ hg log -r10 -T '{files % "{status} {pad(size, 3, left=True)} {path}\n"}' | |
822 | R a |
|
839 | R a | |
823 | A 0 b |
|
840 | A 0 b | |
824 | A 7 fifth |
|
841 | A 7 fifth | |
@@ -834,7 +851,7 b' Test file status including clean ones:' | |||||
834 |
|
851 | |||
835 | Test index keyword: |
|
852 | Test index keyword: | |
836 |
|
853 | |||
837 |
$ hg log - |
|
854 | $ hg log -r 10:9 -T '{index + 10}{files % " {index}:{file}"}\n' | |
838 | 10 0:a 1:b 2:fifth 3:fourth 4:third |
|
855 | 10 0:a 1:b 2:fifth 3:fourth 4:third | |
839 | 11 0:a |
|
856 | 11 0:a | |
840 |
|
857 |
General Comments 0
You need to be logged in to leave comments.
Login now