[PATCH 1 of 9] context: replace preparation and after care for changeid

Matt Mackall mpm at selenic.com
Tue Mar 31 06:59:02 CDT 2015


On Mon, 2015-03-30 at 03:34 +0900, FUJIWARA Katsunori wrote:
> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1427653751 -32400
> #      Mon Mar 30 03:29:11 2015 +0900
> # Node ID ea145f508b3df90b8393db3722a9fc9397c3354c
> # Parent  efa094701a05d58d505c3b0c3b3c73dba4e51e97
> context: replace preparation and after care for changeid
> 
> This patch replaces preparation and after care for changeid, to factor
> out exception handling of "changectx.__init__()" in subsequent patch.

There are performance considerations for the ordering of checks here,
have you checked for the impact?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list