Patchwork [10,of,12] workingctx: remove old customized status method

login
register
mail settings
Submitter Sean Farley
Date May 19, 2014, 8:32 p.m.
Message ID <29e9974217e33164493b.1400531537@laptop.local>
Download mbox | patch
Permalink /patch/4812/
State Changes Requested
Headers show

Comments

Sean Farley - May 19, 2014, 8:32 p.m.
# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 1398380918 18000
#      Thu Apr 24 18:08:38 2014 -0500
# Node ID 29e9974217e33164493bd4fbe7417ae297d410c6
# Parent  616777bf8bd5dde9ba157e674a6236711bf978a6
workingctx: remove old customized status method

This is unneeded now that basectx has the ability to calculate the status
between two context objects.

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1436,23 +1436,10 @@  class workingctx(committablectx):
                     self._repo.ui.warn('%s: %s\n' %
                                        (self._repo.dirstate.pathto(f), msg))
             match.bad = bad
         return match
 
-    def status(self, ignored=False, clean=False, unknown=False, match=None):
-        """Explicit status query
-        Unless this method is used to query the working copy status, the
-        _status property will implicitly read the status using its default
-        arguments."""
-        listignored, listclean, listunknown = ignored, clean, unknown
-        s = self._dirstatestatus(match=match, ignored=listignored,
-                                 clean=listclean, unknown=listunknown)
-
-        s[0] = self._filtersuspectsymlink(s[0])
-        self._status = s
-        return s
-
 
 class committablefilectx(basefilectx):
     """A committablefilectx provides common functionality for a file context
     that wants the ability to commit, e.g. workingfilectx or memfilectx."""
     def __init__(self, repo, path, filelog=None, ctx=None):