##// END OF EJS Templates
convert/svn: better handling of hg recursive call failure
Patrick Mezard -
r10071:66198056 stable
parent child Browse files
Show More
@@ -912,7 +912,11 b' class svn_source(converter_source):'
912 cmd = '%s debugsvnlog' % util.shellquote(hgexe)
912 cmd = '%s debugsvnlog' % util.shellquote(hgexe)
913 stdin, stdout = util.popen2(cmd)
913 stdin, stdout = util.popen2(cmd)
914 stdin.write(arg)
914 stdin.write(arg)
915 stdin.close()
915 try:
916 stdin.close()
917 except IOError:
918 raise util.Abort(_('Mercurial failed to run itself, check'
919 ' hg executable is in PATH'))
916 return logstream(stdout)
920 return logstream(stdout)
917
921
918 pre_revprop_change = '''#!/bin/sh
922 pre_revprop_change = '''#!/bin/sh
General Comments 0
You need to be logged in to leave comments. Login now