From b4db945b34d0475894467792acc69038d5b25306 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Jul 2011 11:39:32 -0400 Subject: mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson) --- doc/rcs.mdwn | 4 ++-- ...lementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/rcs.mdwn b/doc/rcs.mdwn index 9f531d442..f2c6f192f 100644 --- a/doc/rcs.mdwn +++ b/doc/rcs.mdwn @@ -21,8 +21,8 @@ auto.setup |yes |yes |incomplete|yes |incomplete |yes `rcs_rename` |yes |yes |yes |yes |no |yes |no |yes `rcs_remove` |yes |yes |yes |yes |no |yes |no |yes `rcs_diff` |yes |yes |yes |yes |no |yes |yes |yes -`rcs_getctime` |fast |slow |slow |slow |slow |slow |slow |slow -`rcs_getmtime` |fast |slow |slow |slow |no |no |no |no +`rcs_getctime` |fast |slow |slow |slow |fast |slow |slow |slow +`rcs_getmtime` |fast |slow |slow |slow |fast |no |no |no `rcs_preprevert` |yes |no |no |no |no |no |no |no `rcs_revert` |yes |no |no |no |no |no |no |no anonymous push |yes |no |no |no |no |no |no |no diff --git a/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn b/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn index 6cd195a53..54ab4ad3a 100644 --- a/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn +++ b/doc/todo/rcs__95__get__123__c__44__m__125__time_implementation_for_Mercurial_backend__44___based_on_Git_backend.mdwn @@ -21,6 +21,11 @@ In the patch listing below, I've marked the parts of the patch that should be re --[[Daniel Andersson]] +> I have applied this, but I left the temp file in. +> The overhead seems small since it will only be run once per ikiwiki run, +> and only when `ikiwiki --gettime` is run, or the first time +> ikiwiki runs. Thanks for this! [[done]] --[[Joey]] + --- diff -r 78a217fb13f3 -r 1b6c46b62a28 Plugin/mercurial.pm -- cgit v1.2.3