plumb mercurial 12-hexdigit hash from directory inside mercurial repository.

type is text
data matches '[a-zA-Z0-9¡-�_\-./]+'
data matches 
'[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
plumb start rc -c 'cd '''$wdir'''; root=`{hg root}; rev='''$0'''; {hg
log -v -r $rev && hg diff -c $rev} >[2=1] | nobs | plumb -i -d edit -a
''action=showdata filename=''$root/+$rev'

(The first data matches line is the usual one, in case email mangles
the Unicode.)

Reply via email to