##// END OF EJS Templates
py3: add b'' prefixes in hgext/convert/subversion.py...
Pulkit Goyal -
r38079:c560a4ea default
parent child Browse files
Show More
@@ -1081,7 +1081,7 b' class svn_source(converter_source):'
1081 ' hg executable is in PATH'))
1081 ' hg executable is in PATH'))
1082 return logstream(stdout)
1082 return logstream(stdout)
1083
1083
1084 pre_revprop_change = '''#!/bin/sh
1084 pre_revprop_change = b'''#!/bin/sh
1085
1085
1086 REPOS="$1"
1086 REPOS="$1"
1087 REV="$2"
1087 REV="$2"
@@ -1098,8 +1098,8 b' exit 1'
1098 '''
1098 '''
1099
1099
1100 class svn_sink(converter_sink, commandline):
1100 class svn_sink(converter_sink, commandline):
1101 commit_re = re.compile(r'Committed revision (\d+).', re.M)
1101 commit_re = re.compile(br'Committed revision (\d+).', re.M)
1102 uuid_re = re.compile(r'Repository UUID:\s*(\S+)', re.M)
1102 uuid_re = re.compile(br'Repository UUID:\s*(\S+)', re.M)
1103
1103
1104 def prerun(self):
1104 def prerun(self):
1105 if self.wc:
1105 if self.wc:
General Comments 0
You need to be logged in to leave comments. Login now