Show More
@@ -179,7 +179,7 b' class convert_cvs(converter_source):' | |||
|
179 | 179 | # :ext:user@host/home/user/path/to/cvsroot |
|
180 | 180 | if root.startswith(":ext:"): |
|
181 | 181 | root = root[5:] |
|
182 | m = re.match(r'(?:([^@:/]+)@)?([^:/]+):?(.*)', root) | |
|
182 | m = re.match(br'(?:([^@:/]+)@)?([^:/]+):?(.*)', root) | |
|
183 | 183 | # Do not take Windows path "c:\foo\bar" for a connection strings |
|
184 | 184 | if os.path.isdir(root) or not m: |
|
185 | 185 | conntype = "local" |
@@ -46,11 +46,11 b' class monotone_source(common.converter_s' | |||
|
46 | 46 | raise norepo |
|
47 | 47 | |
|
48 | 48 | # regular expressions for parsing monotone output |
|
49 | space = r'\s*' | |
|
50 | name = r'\s+"((?:\\"|[^"])*)"\s*' | |
|
49 | space = br'\s*' | |
|
50 | name = br'\s+"((?:\\"|[^"])*)"\s*' | |
|
51 | 51 | value = name |
|
52 | revision = r'\s+\[(\w+)\]\s*' | |
|
53 | lines = r'(?:.|\n)+' | |
|
52 | revision = br'\s+\[(\w+)\]\s*' | |
|
53 | lines = br'(?:.|\n)+' | |
|
54 | 54 | |
|
55 | 55 | self.dir_re = re.compile(space + "dir" + name) |
|
56 | 56 | self.file_re = re.compile(space + "file" + name + |
General Comments 0
You need to be logged in to leave comments.
Login now