##// END OF EJS Templates
debuglock: ignore ENOENT error when unlocking...
marmoute -
r49924:020378f3 stable
parent child Browse files
Show More
@@ -2148,9 +2148,9 b' def debuglocks(ui, repo, **opts):'
2148 """
2148 """
2149
2149
2150 if opts.get('force_free_lock'):
2150 if opts.get('force_free_lock'):
2151 repo.svfs.unlink(b'lock')
2151 repo.svfs.tryunlink(b'lock')
2152 if opts.get('force_free_wlock'):
2152 if opts.get('force_free_wlock'):
2153 repo.vfs.unlink(b'wlock')
2153 repo.vfs.tryunlink(b'wlock')
2154 if opts.get('force_free_lock') or opts.get('force_free_wlock'):
2154 if opts.get('force_free_lock') or opts.get('force_free_wlock'):
2155 return 0
2155 return 0
2156
2156
General Comments 0
You need to be logged in to leave comments. Login now