Versions Compared

Key

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

...

All Committers are strongly encouraged to use jcheck to check their changeset before pushing. There should be no excuse for pushing a changeset with a mistake that that jcheck would have caught.

SETUP

There are three simple setup steps needed to enable running jcheck:

...

If any errors are reported, then you will need to correct them before you can push the changeset. If you are an MQ user, then you should already know how to fix up your changeset comment prior to pushing – it's easy. Otherwise, you can do the following:

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

$ 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".