Ability to force clone

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Unlike git, the Mercurial "checkout" command only offers a "Clean Build" option which is used to purge the working directory.

      We need an equivalent of the "Wipe workspace and force clone" functionality available to the git plugin. Specifically, I am running into problems where the local repository contains more commits than the remote which is causing problems. I need to force a re-clone; otherwise, the script will need to be able to recover from a partially-updated repository after a failed build.

            Assignee:
            Unassigned
            Reporter:
            cowwoc
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: