hg: build-infra/jdk8: In get_souce.sh, prevent hang by preemptive check for locked repositories.

Fredrik Öhrström fredrik.ohrstrom at oracle.com
Tue Sep 18 02:48:27 PDT 2012


18 sep 2012 kl. 11:43 skrev David Holmes:
> 
> I don't understand what this is supposed to be doing. Are "you" using get_source.sh as a way to "hg pull" after a clone? Otherwise until you've cloned the repos there won't be any to search for these lock files. And these are your local repos so if they are locked, who is locking them ??

The mercurial servers are sometimes very slow and when I try to interrupt the stale "sh get_sources.sh" the hg client leaves stale lock files in the repositories.
This happens over and over on my linux 32 bit machine.

//Fredrik


More information about the build-infra-dev mailing list