* for the mercurial users
@ 2012-06-02 23:49 Russ Cox
0 siblings, 0 replies; only message in thread
From: Russ Cox @ 2012-06-02 23:49 UTC (permalink / raw)
To: 9fans
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 522 bytes --]
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.)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-02 23:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-02 23:49 for the mercurial users Russ Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).