jenkinsci/mercurial-plugin — pull request #28 by dbarbieri (2012-11-18 09:24:11+00:00)
Title: Adding 'hg verify' checkbox to guarantee an existing and uncorrupted workspace

Adding a checkbox to perform hg verify on the workspace. This saved my company from corruption issues we were having, plus its a more proper way to guarantee a repository exists than just checking the .hg/hgrc, although it takes longer.

The change only adds functionality, is off by default, and works recursively
with subrepos.

Thanks.

-Devin Barbieri

PS This is a repeat of a year old changeset I had to merge to the current code