fix backtrace printed when cannot get lock.
change lock error handling code so exceptions have useful info and
exception handling in one place.
add test case for when cannot get lock.
checking changesetschecking manifestscrosschecking files in changesets and manifestschecking files0 files, 0 changesets, 0 total revisions