tests/bundles/rebase.hg
author Sean Farley <sean.michael.farley@gmail.com>
Wed, 16 Apr 2014 16:34:48 -0500
changeset 21425 242637139efb
parent 14119 624e5ce615ec
permissions -rw-r--r--
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.

(binary:application/octet-stream)