From patchwork Fri Oct 13 14:06:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1033: pycompat: define operating system constants From: phabricator X-Patchwork-Id: 24830 Message-Id: <75bd49c3cc0ab1e2384dca493c00932e@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Fri, 13 Oct 2017 14:06:14 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGc0a6c19690ff: pycompat: define operating system constants (authored by quark, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1033?vs=2652&id=2682 REVISION DETAIL https://phab.mercurial-scm.org/D1033 AFFECTED FILES mercurial/pycompat.py CHANGE DETAILS To: quark, #hg-reviewers, spectral Cc: spectral, mercurial-devel diff --git a/mercurial/pycompat.py b/mercurial/pycompat.py --- a/mercurial/pycompat.py +++ b/mercurial/pycompat.py @@ -316,3 +316,7 @@ rawinput = raw_input isjython = sysplatform.startswith('java') + +isdarwin = sysplatform == 'darwin' +isposix = osname == 'posix' +iswindows = osname == 'nt'