equal
deleted
inserted
replaced
20 relpipe-in-hgtags() { |
20 relpipe-in-hgtags() { |
21 hg tags \ |
21 hg tags \ |
22 | sed -E 's/([^ \s]+)\s+([0-9]+):(.*)/\1\n\2\n\3/g' \ |
22 | sed -E 's/([^ \s]+)\s+([0-9]+):(.*)/\1\n\2\n\3/g' \ |
23 | tr \\n \\0 \ |
23 | tr \\n \\0 \ |
24 | relpipe-in-cli \ |
24 | relpipe-in-cli \ |
25 generate-from-stdin hg_tags 3 \ |
25 --relation "hg_tags" \ |
26 tag string \ |
26 --attribute "tag" string \ |
27 revision integer \ |
27 --attribute "revision" integer \ |
28 hash_short string |
28 --attribute "hash_short" string |
29 } |
29 } |
30 |
30 |
31 |
31 |
32 # just view everything: |
32 # just view everything: |
33 # (relpipe-in-hglog; relpipe-in-hgtags) | relpipe-out-tabular | less -RSi |
33 # (relpipe-in-hglog; relpipe-in-hgtags) | relpipe-out-tabular | less -RSi |