| Defined | src/repository/parser/ArcanistMercurialParser.php:10 |
|---|---|
| Group | Working Copy APIs |
Parses output from various "hg" commands into structured data. This class provides low-level APIs for reading "hg" output.
| parameters | string | $stdout | The stdout from running an "hg branches" command. |
| return | list | A list of dictionaries with branch information. |
Parse the output of "hg branches".
| parameters | string | $stdout | The stdout from running an "hg log" command. |
| return | list | List of dictionaries with commit information. |
Parse the output of "hg log". This also parses "hg outgoing", "hg parents", and other similar commands. This assumes "--style default".
| parameters | string | $stdout | The stdout from running an "hg status" command. |
| return | dict | Map of paths to ArcanistRepositoryAPI status flags. |
Parse the output of "hg status". This provides only basic information, you can get more detailed information by invoking parseMercurialStatusDetails().
| parameters | string | $stdout | The stdout from running an "hg status" command. |
| return | dict | Map of paths to status dictionaries. |
Parse the output of "hg status". This provides detailed information, you can get less detailed information with parseMercurialStatus(). In particular, this will parse copy sources as per "hg status -C".