Mercurial > evolve
annotate hgext/__init__.py @ 1722:b4be34677fda
continue: ensure we hold the wlock before writing file to disk
A hack in 'hg evolve --continue' involve writing a 'graftstate' file. We take
the wlock before doing so.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 11 Aug 2016 23:00:46 +0200 |
parents | 5ef77a1d975c |
children |
rev | line source |
---|---|
1619
5ef77a1d975c
hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
519
diff
changeset
|
1 from __future__ import absolute_import |
5ef77a1d975c
hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
519
diff
changeset
|
2 import pkgutil |
5ef77a1d975c
hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
519
diff
changeset
|
3 __path__ = pkgutil.extend_path(__path__, __name__) |
5ef77a1d975c
hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
519
diff
changeset
|
4 |