diff mercurial/fancyopts.py @ 21425:242637139efb

localrepo: reverse contexts in status This is a slight tweak to how localrepo.status calculates what files have changed. By forcing a changectx to be first operator and anything not a changectx to be the second operator, we can later exploit this to allow refactoring the status operation as a method of a context object. Furthermore, this change will speed up 'hg diff --reverse' when used with the working directory because the code will now hit a fast path without needing to calculate an unneeded second manifest.
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 16 Apr 2014 16:34:48 -0500
parents 1e5b38a919dd
children 753af9ee7c81
line wrap: on
line diff