##// END OF EJS Templates
hardlink: check directory's st_dev when copying files...
Jun Wu -
r31720:dea2a17c default
parent child Browse files
Show More
@@ -1144,7 +1144,7 b' def copyfiles(src, dst, hardlink=None, p'
1144 num += n
1144 num += n
1145 else:
1145 else:
1146 if hardlink is None:
1146 if hardlink is None:
1147 hardlink = (os.stat(src).st_dev ==
1147 hardlink = (os.stat(os.path.dirname(src)).st_dev ==
1148 os.stat(os.path.dirname(dst)).st_dev)
1148 os.stat(os.path.dirname(dst)).st_dev)
1149 topic = gettopic()
1149 topic = gettopic()
1150
1150
General Comments 0
You need to be logged in to leave comments. Login now