Mercurial > hg
comparison mercurial/dirstate.py @ 15151:0d4f6e843b05
building: build inotify for sys.platform='linux*'
If Python interpreter was built under Linux 3.x kernel, it reports
sys.platform to be 'linux3' (it is fixed for Python 3, but not for 2.x).
This cancels building inotify extension, which was built only for 'linux2'
platform. Improved test checks if sys.platform begins with 'linux', and together
with test for kernel version to be greater than 2.6 it seems to cover all known
cases.
author | Nikolaj Sjujskij <sterkrig@myopera.com> |
---|---|
date | Tue, 20 Sep 2011 15:21:27 +0300 |
parents | 774da7121fc9 |
children | cf5f9df6406b |
comparison
equal
deleted
inserted
replaced
15150:91dc8878f888 | 15151:0d4f6e843b05 |
---|