Changes between Version 13 and Version 14 of Tutorials/SubmittingPatch


Ignore:
Timestamp:
Jan 5, 2018, 8:05:33 AM (6 years ago)
Author:
patrik.svestka@…
Comment:

Improve note about option --no-commit

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/SubmittingPatch

    v13 v14  
    159159     #!div class="note"
    160160     **Note:**
    161      Please note the option `--no-commit` when importing patch(es) which only updates the working copy but does not commit. I changes were commited and the patch was wrong (or if it would be further improved) the you'd be left with some "old" commits and would have to get rid of them via `hg prune`. With `--no-commit` you an just `hg revert` them.
     161     Please note the option `--no-commit` when importing patch(es).  It only updates the working copy but does not commit.
     162
     163     If changes were committed and the patch proved to be wrong or it would need further improvement, then you'd be left with some "old" commits.  You would then need to get rid of such "old" commits via `hg prune`.
     164
     165     Using `--no-commit` option, saves you such tedious work, you need to run `hg revert` to dispose of them.
    162166
    163167     If you really want patches to be commited, please use `hg import --exact`.