[PATCH 2 of 7] context.status: remove unused arguments from _matchstatus()

Martin von Zweigbergk martinvonz at google.com
Mon Nov 3 13:00:54 CST 2014


On Mon Nov 03 2014 at 10:38:57 AM Sean Farley <sean.michael.farley at gmail.com>
wrote:

>
> Martin von Zweigbergk writes:
>
> > # HG changeset patch
> > # User Martin von Zweigbergk <martinvonz at gmail.com>
> > # Date 1413094733 25200
> > #      Sat Oct 11 23:18:53 2014 -0700
> > # Branch stable
> > # Node ID 3776f277e512ecdc5b2da73f3f3264af3e173640
> > # Parent  d68ec9fdce58cb01ec349e2731cf09247b10f436
> > context.status: remove unused arguments from _matchstatus()
> >
> > diff --git a/mercurial/context.py b/mercurial/context.py
> > --- a/mercurial/context.py
> > +++ b/mercurial/context.py
> > @@ -85,8 +85,7 @@
> >                  del mf[fn]
> >          return mf
> >
> > -    def _matchstatus(self, other, s, match, listignored, listclean,
> > -                     listunknown):
> > +    def _matchstatus(self, other, match):
>
> The reason these are here come from the future: having a way to pass
> 'should I list ignored / clean / unknown files?' to new contexts
> (i.e. memctx)
>

Do we know that those parameters will be useful when creating a matcher?
What might they be used for?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20141103/2adae7ae/attachment.html>


More information about the Mercurial-devel mailing list