equal
deleted
inserted
replaced
3946 $ hg log --template '{rev} {ifcontains(rev, revset(". + .^"), "match rev", "not match rev")}\n' |
3946 $ hg log --template '{rev} {ifcontains(rev, revset(". + .^"), "match rev", "not match rev")}\n' |
3947 2 match rev |
3947 2 match rev |
3948 1 match rev |
3948 1 match rev |
3949 0 not match rev |
3949 0 not match rev |
3950 |
3950 |
|
3951 $ hg log -T '{ifcontains(desc, revset(":"), "", "type not match")}\n' -l1 |
|
3952 type not match |
|
3953 |
3951 $ hg log --template '{rev} Parents: {revset("parents(%s)", rev)}\n' |
3954 $ hg log --template '{rev} Parents: {revset("parents(%s)", rev)}\n' |
3952 2 Parents: 1 |
3955 2 Parents: 1 |
3953 1 Parents: 0 |
3956 1 Parents: 0 |
3954 0 Parents: |
3957 0 Parents: |
3955 |
3958 |