##// END OF EJS Templates
nodemap: fix missing r-prefix on regular expression...
Augie Fackler -
r44952:6aee0647 default
parent child Browse files
Show More
@@ -275,7 +275,7 b' def _rawdata_filepath(revlog, docket):'
275
275
276 def _other_rawdata_filepath(revlog, docket):
276 def _other_rawdata_filepath(revlog, docket):
277 prefix = revlog.nodemap_file[:-2]
277 prefix = revlog.nodemap_file[:-2]
278 pattern = re.compile(b"(^|/)%s-[0-9a-f]+\.nd$" % prefix)
278 pattern = re.compile(br"(^|/)%s-[0-9a-f]+\.nd$" % prefix)
279 new_file_path = _rawdata_filepath(revlog, docket)
279 new_file_path = _rawdata_filepath(revlog, docket)
280 new_file_name = revlog.opener.basename(new_file_path)
280 new_file_name = revlog.opener.basename(new_file_path)
281 dirpath = revlog.opener.dirname(new_file_path)
281 dirpath = revlog.opener.dirname(new_file_path)
General Comments 0
You need to be logged in to leave comments. Login now