Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/context.py @ 21722:ee29b0bb1619
status: document the content of the returned tuple in the docstring
The ``status`` function returns a lot of information. We document it.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sat, 31 May 2014 17:26:15 -0700 |
parents | bc773e9505e3 |
children | e4d35aa9056c |
comparison
equal
deleted
inserted
replaced
21721:6539c4e9c874 | 21722:ee29b0bb1619 |
---|---|
273 listclean=False, listunknown=False, listsubrepos=False): | 273 listclean=False, listunknown=False, listsubrepos=False): |
274 """return status of files between two nodes or node and working | 274 """return status of files between two nodes or node and working |
275 directory. | 275 directory. |
276 | 276 |
277 If other is None, compare this node with working directory. | 277 If other is None, compare this node with working directory. |
278 | |
279 returns (modified, added, removed, deleted, unknown, ignored, clean) | |
278 """ | 280 """ |
279 | 281 |
280 ctx1 = self | 282 ctx1 = self |
281 ctx2 = self._repo[other] | 283 ctx2 = self._repo[other] |
282 | 284 |