comparison mercurial/txnutil.py @ 38000:7c05198cd1ca stable

push: continue without locking on lock failure other than EEXIST (issue5882) This code was added by 3f5e75c22585 "push: make locking of source optional (issue3684)", but EACCES isn't the only error that could be triggered by filesystem permission. I think catching LockUnavailable is more appropriate than testing errno value by caller.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 15 May 2018 22:12:55 +0900
parents 206532700213
children 2372284d9457
comparison
equal deleted inserted replaced
37980:273ea09f6550 38000:7c05198cd1ca