Show More
@@ -170,7 +170,7 b' def createlog(ui, directory=None, root="' | |||
|
170 | 170 | # /pserver/user/server/path |
|
171 | 171 | # are mapped to different cache file names. |
|
172 | 172 | cachefile = root.split(":") + [directory, "cache"] |
|
173 | cachefile = ['-'.join(re.findall(r'\w+', s)) for s in cachefile if s] | |
|
173 | cachefile = ['-'.join(re.findall(br'\w+', s)) for s in cachefile if s] | |
|
174 | 174 | cachefile = os.path.join(cachedir, |
|
175 | 175 | '.'.join([s for s in cachefile if s])) |
|
176 | 176 |
@@ -1129,7 +1129,7 b' class svn_sink(converter_sink, commandli' | |||
|
1129 | 1129 | self.wc = os.path.realpath(path) |
|
1130 | 1130 | self.run0('update') |
|
1131 | 1131 | else: |
|
1132 | if not re.search(r'^(file|http|https|svn|svn\+ssh)\://', path): | |
|
1132 | if not re.search(br'^(file|http|https|svn|svn\+ssh)\://', path): | |
|
1133 | 1133 | path = os.path.realpath(path) |
|
1134 | 1134 | if os.path.isdir(os.path.dirname(path)): |
|
1135 | 1135 | if not os.path.exists(os.path.join(path, 'db', 'fs-type')): |
General Comments 0
You need to be logged in to leave comments.
Login now