equal
deleted
inserted
replaced
1142 return progress(t, pos + num) |
1142 return progress(t, pos + num) |
1143 hardlink, n = copyfiles(srcname, dstname, hardlink, progress=nprog) |
1143 hardlink, n = copyfiles(srcname, dstname, hardlink, progress=nprog) |
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 |
1151 if hardlink: |
1151 if hardlink: |
1152 try: |
1152 try: |