[issue291] hg stat enhancement
McClain Looney
mercurial-bugs at selenic.com
Mon Jun 19 11:10:56 CDT 2006
New submission from McClain Looney <mcclain.looney at oracle.com>:
I'm putting together a mercurial plugin for eclipse, and would very much like hg
stat (or id or tip) enhanced to output something when issued on an individual
up-to-date file.
For instance:
'hg stat -verbose file'
would yield output similar to 'tip', but contain info for the last time the file
was committed:
changeset: 8:410acbb79ac7
tag:
user: mlooney at blah.com
date: Mon Jun 19 09:38:56 2006 -0500
summary: commit test passes
I'd also find a non-recursive stat for directories (functioning in the same way
as above) quite handy.
Currently, I fork an hg stat process, and have to check for empty stderr and a 0
return code to figure out if a file is up to date. There's no useful information
available from stat on a directory at all (since it just runs stat on its children).
----------
messages: 1553
nosy: mml
priority: feature
status: unread
title: hg stat enhancement
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue291>
____________________________________________________
More information about the Mercurial
mailing list