Mercurial > hg
comparison tests/test-hgweb-commands.t @ 27194:77995317b374
commands: widen wlock scope of graft for consitency while processing
Before this patch, "hg graft" executes below before acquisition of
wlock.
- cmdutil.checkunfinished()
- cmdutil.bailifchanged()
- repo.dirstate.parents() via 'repo["."]'
- unlinking '.hg/graftstate'
It may cause unintentional result, if another command runs parallelly
(see also issue4368).
This patch widens wlock scope of "hg graft" for consitency while
processing.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Wed, 02 Dec 2015 03:12:07 +0900 |
parents | f40f62ea43e0 |
children | 77d25b913f80 |
comparison
equal
deleted
inserted
replaced
27193:c7217f1458bf | 27194:77995317b374 |
---|