##// END OF EJS Templates
util: convert an exception to bytes when passing to Abort()...
Matt Harbison -
r44128:5be128f6 stable
parent child Browse files
Show More
@@ -1919,7 +1919,7 b' def copyfile(src, dest, hardlink=False, '
1919 ) & 0x7FFFFFFF
1919 ) & 0x7FFFFFFF
1920 os.utime(dest, (advanced, advanced))
1920 os.utime(dest, (advanced, advanced))
1921 except shutil.Error as inst:
1921 except shutil.Error as inst:
1922 raise error.Abort(str(inst))
1922 raise error.Abort(stringutil.forcebytestr(inst))
1923
1923
1924
1924
1925 def copyfiles(src, dst, hardlink=None, progress=None):
1925 def copyfiles(src, dst, hardlink=None, progress=None):
General Comments 0
You need to be logged in to leave comments. Login now