-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 1.447
Mercurial plugin version 1.38
I just changed the repository paths for a large set of jobs using hg repositories.
But polling logs still showed the previously configured paths, where hg can no longer find a repository. The problem is that a simple hg pull is done when polling. The remote path is not part of the command, but the default of the local workspace (=>hgrc) is used. => If there is an existing workspace, it will never pick up the new path, but always try to pull from the previous one.
If instead the hg pull command specified the repository path configured in the jobs's configuration, one could easily change the location of the repository afterwards without having to clean up all workspaces.
I patched .hg/hgrc in all workspaces now to make use of the new path, but it would have been nice if Jenkins picked them up automagically.
I'm experiencing the exact same issue.