Issue730

Title add an easy way to tell last modification revision of a file
Priority feature Status chatting
Superseder Nosy List brendan, yapko
Assigned To Topics ui

Created on 2007-09-06.14:31:32 by yapko, last changed 2008-02-12.09:44:56 by djc.

Messages
msg3976 (view) Author: yapko Date: 2007-09-06.22:14:53
hg log --limit 1 file would do the trick only for the given file, so if 
a repository has n files this command would have to be run n times. for 
projects having more than 1000 files this doesn't sound reasonable when 
you have to get this information e.g. from java parsing the output of 
1000 log commands. running hg log with parsable list of files might 
enough, but it's still not the point.

IMO Mercurial lacks the feature that would easily indicate last 
modification revision. SVN and CVS provide an easy way to discover e.g 
last author of a file. It seems that in Mercurial there's no such thing 
as a pair 'file last_revision' (may be relative to the working 
directory), but that makes a lot of sense.

Brendan Cully wrote:
> Brendan Cully <brendan@kublai.com> added the comment:
>
> On Thursday, 06 September 2007 at 14:31, Łukasz Błoński wrote:
>   
>> New submission from Łukasz Błoński <yapko@hot.pl>:
>>
>> mercurial should provide an easy (scriptable) way to show information about last
>> modification of a file or group of files. what I mean is that e.g. running 'hg
>> debugstate' or 'hg manifest' or maybe even 'hg log' should not only indicate
>> file state, but also revision it was last modified. 
>>
>> it could also be partially solved by adding a style to {files} keyword, to
>> display each file in a new line
>>     
>
> hg log --limit 1 file
>
> ----------
> nosy: +brendan
> status: unread -> chatting
>
> ____________________________________________________
> Mercurial issue tracker <mercurial-bugs@selenic.com>
> <http://www.selenic.com/mercurial/bts/issue730>
> ____________________________________________________
>
>
msg3975 (view) Author: brendan Date: 2007-09-06.15:34:02
On Thursday, 06 September 2007 at 14:31, Łukasz Błoński wrote:
> 
> New submission from Łukasz Błoński <yapko@hot.pl>:
> 
> mercurial should provide an easy (scriptable) way to show information about last
> modification of a file or group of files. what I mean is that e.g. running 'hg
> debugstate' or 'hg manifest' or maybe even 'hg log' should not only indicate
> file state, but also revision it was last modified. 
> 
> it could also be partially solved by adding a style to {files} keyword, to
> display each file in a new line

hg log --limit 1 file
msg3973 (view) Author: yapko Date: 2007-09-06.14:31:31
mercurial should provide an easy (scriptable) way to show information about last
modification of a file or group of files. what I mean is that e.g. running 'hg
debugstate' or 'hg manifest' or maybe even 'hg log' should not only indicate
file state, but also revision it was last modified. 

it could also be partially solved by adding a style to {files} keyword, to
display each file in a new line
History
Date User Action Args
2008-02-12 09:44:56djcsettopic: + ui
2007-09-06 22:14:55yapkosetmessages: + msg3976
2007-09-06 15:34:03brendansetstatus: unread -> chatting
nosy: + brendan
messages: + msg3975
2007-09-06 14:31:32yapkocreate