diff mercurial/policy.py @ 30781:f2c069bf78ee

repair: clean up stale lock file from store backup Since we did a directory rename on the stores, the source repository's lock path now references the dest repository's lock path and the dest repository's lock path now references a non-existent filename. So releasing the lock on the source will unlock the dest and releasing the lock on the dest will no-op because it fails due to file not found. So we clean up the dest's lock manually.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 24 Nov 2016 18:45:29 -0800
parents b4d117cee636
children 62939e0148f1
line wrap: on
line diff