diff mercurial/phases.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 3118766266ae
children 02f992ac26e9
line wrap: on
line diff