2439 |
2439 |
2440 def status(ui, repo, *pats, **opts): |
2440 def status(ui, repo, *pats, **opts): |
2441 """show changed files in the working directory |
2441 """show changed files in the working directory |
2442 |
2442 |
2443 Show status of files in the repository. If names are given, only |
2443 Show status of files in the repository. If names are given, only |
2444 files that match are shown. Files that are clean or ignored, are |
2444 files that match are shown. Files that are clean or ignored or |
2445 not listed unless -c (clean), -i (ignored) or -A is given. |
2445 source of a copy/move operation, are not listed unless -c (clean), |
|
2446 -i (ignored), -C (copies) or -A is given. Unless options described |
|
2447 with "show only ..." are given, the options -mardu are used. |
2446 |
2448 |
2447 NOTE: status may appear to disagree with diff if permissions have |
2449 NOTE: status may appear to disagree with diff if permissions have |
2448 changed or a merge has occurred. The standard diff format does not |
2450 changed or a merge has occurred. The standard diff format does not |
2449 report permission changes and diff only reports changes relative |
2451 report permission changes and diff only reports changes relative |
2450 to one merge parent. |
2452 to one merge parent. |