changeset 51859 | f4733654f144 |
parent 48875 | 6000f5b25c9b |
51858:607e94e01851 | 51859:f4733654f144 |
---|---|
12 [hooks] |
12 [hooks] |
13 pretxnclose-phase.enforce_draft_commits = \ |
13 pretxnclose-phase.enforce_draft_commits = \ |
14 python:hgext.hooklib.enforce_draft_commits.hook |
14 python:hgext.hooklib.enforce_draft_commits.hook |
15 """ |
15 """ |
16 |
16 |
17 from __future__ import annotations |
|
17 |
18 |
18 from mercurial.i18n import _ |
19 from mercurial.i18n import _ |
19 from mercurial import ( |
20 from mercurial import ( |
20 error, |
21 error, |
21 pycompat, |
22 pycompat, |