mercurial/context.py
changeset 45911 e359af6517ce
parent 45510 19590b126764
child 45957 89a2afe31e82
--- 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