equal
deleted
inserted
replaced
210 |
210 |
211 $ sed -i'' -e s/Zwie/Zwei/ main-file-1 |
211 $ sed -i'' -e s/Zwie/Zwei/ main-file-1 |
212 |
212 |
213 and **amend**:: |
213 and **amend**:: |
214 |
214 |
|
215 $ hg status |
|
216 $ hg pstatus |
|
217 $ hg diff |
|
218 $ hg pdiff |
215 $ hg amend --note "fix spelling of Zwei" |
219 $ hg amend --note "fix spelling of Zwei" |
216 |
220 |
217 The `--note` is our commit message for the *update* only. So its only purpose |
221 The `--note` is our commit message for the *update* only. So its only purpose |
218 is to document the evolution of the changeset. If we use `--message` with |
222 is to document the evolution of the changeset. If we use `--message` with |
219 `amend`, it replaces the commit message of the changeset itself. |
223 `amend`, it replaces the commit message of the changeset itself. |