# HG changeset patch # User Pierre-Yves David # Date 1605854229 -3600 # Node ID e359af6517ce531a2aeb4fddc36e5e16ce69fe2e # Parent fc4fb2f17dd4e85eb1660caf9842506576e6f98d context: small update to ctx.status doc The order of the "arguments" were not too clear, so we update the documentation to clarify that. diff -r fc4fb2f17dd4 -r e359af6517ce mercurial/context.py --- a/mercurial/context.py Mon Nov 16 16:00:50 2020 -0800 +++ b/mercurial/context.py Fri Nov 20 07:37:09 2020 +0100 @@ -398,7 +398,17 @@ If other is None, compare this node with working directory. - returns (modified, added, removed, deleted, unknown, ignored, clean) + ctx1.status(ctx2) returns the status of change from ctx1 to ctx2 + + Returns a mercurial.scmutils.status object. + + Data can be accessed using either tuple notation: + + (modified, added, removed, deleted, unknown, ignored, clean) + + or direct attribute access: + + s.modified, s.added, ... """ ctx1 = self