Mercurial > hg
comparison setup.py @ 41533:0f64091cc851
global: make some docstrings raw strings
Python 3.8 emits a SyntaxWarning when a str/bytes contains invalid
\ escapes. Various docstrings in our code base contain invalid
\ escapes.
This commit turns those docstrings into raw strings.
Differential Revision: https://phab.mercurial-scm.org/D5816
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 09:07:00 -0800 |
parents | 8427fea04017 |
children | aaad36b88298 |
comparison
equal
deleted
inserted
replaced
41532:bd3f03d8cc9f | 41533:0f64091cc851 |
---|---|
664 output_dir=self.build_temp) | 664 output_dir=self.build_temp) |
665 if self.long_paths_support: | 665 if self.long_paths_support: |
666 self.addlongpathsmanifest() | 666 self.addlongpathsmanifest() |
667 | 667 |
668 def addlongpathsmanifest(self): | 668 def addlongpathsmanifest(self): |
669 """Add manifest pieces so that hg.exe understands long paths | 669 r"""Add manifest pieces so that hg.exe understands long paths |
670 | 670 |
671 This is an EXPERIMENTAL feature, use with care. | 671 This is an EXPERIMENTAL feature, use with care. |
672 To enable long paths support, one needs to do two things: | 672 To enable long paths support, one needs to do two things: |
673 - build Mercurial with --long-paths-support option | 673 - build Mercurial with --long-paths-support option |
674 - change HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\ | 674 - change HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\ |