jenkinsci/mercurial-plugin — pull request #36 by willemv (2013-04-03 18:00:14+00:00)
Title: Prevent relinking from blocking a checkout

When mercurial relinks two repositories, it needs to lock both data stores of the repositories. When you relink between two shared repositories, the two repositories are backed by the same store, so mercurial tries to double-lock the same store, which obviously times out.