Mercurial > hg-stable
comparison hgext/fix.py @ 43473:61881b170140 stable
fix: fix grammar/typos in hg help -e fix
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 09 Jan 2020 14:19:20 -0500 |
parents | 579672b347d2 |
children | 84a0102c05c7 |
comparison
equal
deleted
inserted
replaced
43472:4e0a6d157910 | 43473:61881b170140 |
---|---|
101 "postfixfile" | 101 "postfixfile" |
102 Run once for each file in each revision where any fixer tools made changes | 102 Run once for each file in each revision where any fixer tools made changes |
103 to the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, | 103 to the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, |
104 and "$HG_METADATA" with a map of fixer names to metadata values from fixer | 104 and "$HG_METADATA" with a map of fixer names to metadata values from fixer |
105 tools that affected the file. Fixer tools that didn't affect the file have a | 105 tools that affected the file. Fixer tools that didn't affect the file have a |
106 valueof None. Only fixer tools that executed are present in the metadata. | 106 value of None. Only fixer tools that executed are present in the metadata. |
107 | 107 |
108 "postfix" | 108 "postfix" |
109 Run once after all files and revisions have been handled. Provides | 109 Run once after all files and revisions have been handled. Provides |
110 "$HG_REPLACEMENTS" with information about what revisions were created and | 110 "$HG_REPLACEMENTS" with information about what revisions were created and |
111 made obsolete. Provides a boolean "$HG_WDIRWRITTEN" to indicate whether any | 111 made obsolete. Provides a boolean "$HG_WDIRWRITTEN" to indicate whether any |
112 files in the working copy were updated. Provides a list "$HG_METADATA" | 112 files in the working copy were updated. Provides a list "$HG_METADATA" |
113 mapping fixer tool names to lists of metadata values returned from | 113 mapping fixer tool names to lists of metadata values returned from |
114 executions that modified a file. This aggregates the same metadata | 114 executions that modified a file. This aggregates the same metadata |
115 previously passed to the "postfixfile" hook. | 115 previously passed to the "postfixfile" hook. |
116 | 116 |
117 Fixer tools are run the in repository's root directory. This allows them to read | 117 Fixer tools are run in the repository's root directory. This allows them to read |
118 configuration files from the working copy, or even write to the working copy. | 118 configuration files from the working copy, or even write to the working copy. |
119 The working copy is not updated to match the revision being fixed. In fact, | 119 The working copy is not updated to match the revision being fixed. In fact, |
120 several revisions may be fixed in parallel. Writes to the working copy are not | 120 several revisions may be fixed in parallel. Writes to the working copy are not |
121 amended into the revision being fixed; fixer tools should always write fixed | 121 amended into the revision being fixed; fixer tools should always write fixed |
122 file content back to stdout as documented above. | 122 file content back to stdout as documented above. |