Show More
@@ -25,7 +25,7 b' from .utils import (' | |||||
25 | stringutil, |
|
25 | stringutil, | |
26 | ) |
|
26 | ) | |
27 |
|
27 | |||
28 | rustmod = policy.importrust('filepatterns') |
|
28 | rustmod = policy.importrust(r'filepatterns') | |
29 |
|
29 | |||
30 | allpatternkinds = ('re', 'glob', 'path', 'relglob', 'relpath', 'relre', |
|
30 | allpatternkinds = ('re', 'glob', 'path', 'relglob', 'relpath', 'relre', | |
31 | 'rootglob', |
|
31 | 'rootglob', |
@@ -270,8 +270,8 b' class partialdiscovery(object):' | |||||
270 | sample.update(takefrom[:more]) |
|
270 | sample.update(takefrom[:more]) | |
271 | return sample |
|
271 | return sample | |
272 |
|
272 | |||
273 | partialdiscovery = policy.importrust('discovery', |
|
273 | partialdiscovery = policy.importrust(r'discovery', | |
274 | member='PartialDiscovery', |
|
274 | member=r'PartialDiscovery', | |
275 | default=partialdiscovery) |
|
275 | default=partialdiscovery) | |
276 |
|
276 | |||
277 | def findcommonheads(ui, local, remote, |
|
277 | def findcommonheads(ui, local, remote, |
@@ -53,7 +53,7 b' from .utils import (' | |||||
53 | stringutil, |
|
53 | stringutil, | |
54 | ) |
|
54 | ) | |
55 |
|
55 | |||
56 | rustdirs = policy.importrust('dirstate', 'Dirs') |
|
56 | rustdirs = policy.importrust(r'dirstate', r'Dirs') | |
57 |
|
57 | |||
58 | base85 = policy.importmod(r'base85') |
|
58 | base85 = policy.importmod(r'base85') | |
59 | osutil = policy.importmod(r'osutil') |
|
59 | osutil = policy.importmod(r'osutil') |
General Comments 0
You need to be logged in to leave comments.
Login now