Show More
@@ -36,11 +36,13 b' from __future__ import absolute_import' | |||
|
36 | 36 | |
|
37 | 37 | import itertools |
|
38 | 38 | import os |
|
39 | import platform | |
|
40 | 39 | import subprocess |
|
41 | 40 | import sys |
|
42 | 41 | |
|
43 |
from mercurial import |
|
|
42 | from mercurial import ( | |
|
43 | encoding, | |
|
44 | pycompat, | |
|
45 | ) | |
|
44 | 46 | |
|
45 | 47 | # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
|
46 | 48 | # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
@@ -49,7 +51,7 b' from mercurial import encoding' | |||
|
49 | 51 | testedwith = 'ships-with-hg-core' |
|
50 | 52 | |
|
51 | 53 | def uisetup(ui): |
|
52 |
if p |
|
|
54 | if pycompat.osname == 'nt': | |
|
53 | 55 | # no fork on Windows, but we can create a detached process |
|
54 | 56 | # https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863.aspx |
|
55 | 57 | # No stdlib constant exists for this value |
General Comments 0
You need to be logged in to leave comments.
Login now