Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you only have a single, committed but unpushed changeset:

Code Block
$ hg

...

 rollback   # NOTE: this only undoes the last hg operation that modified your local repo

...

If you have multiple changesets, or if you have done another write operation, then you will need to save off your patches and redo them, either with a new clone of the repo or by stripping the unpushed changesets from your local repo. For this reason, you should run "hg jcheck" right after each "hg commit".