<div dir="ltr"><div><div><div>For backwards compatibility sys._mercurial must probably stay. Maybe it could be None, so we could write<br><br>if sys._mercurial:<br>   ...<br></div>elif sys._git:<br>   ...<br></div>else:<br></div>   # unknown VCS ...<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 20, 2016 at 12:39 PM, francismb <span dir="ltr"><<a href="mailto:francismb@email.de" target="_blank">francismb@email.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brett,<br>
<span class="">><br>
> Change sys._mercurial<br>
> '''''''''''''''''''''<br>
> Once Python is no longer kept in Mercurial, the ``sys._mercurial``<br>
> attribute will need to be removed. An equivalent ``sys._git``<br>
> attribute will be needed to take its place.<br>
><br>
<br>
</span>Would it make sense to change it to something more general like:<br>
<br>
sys._version_control_system or<br>
sys._vcs  with maybe a new field for the type of vcs: 'mercurial',<br>
'git' or 'the next one' :-)<br>
<br>
<br>
Regards,<br>
francis<br>
_______________________________________________<br>
core-workflow mailing list<br>
<a href="mailto:core-workflow@python.org">core-workflow@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/core-workflow" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/core-workflow</a><br>
This list is governed by the PSF Code of Conduct: <a href="https://www.python.org/psf/codeofconduct" rel="noreferrer" target="_blank">https://www.python.org/psf/codeofconduct</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>