Show More
@@ -1265,7 +1265,9 b' class localrepository:' | |||
|
1265 | 1265 | try: |
|
1266 | 1266 | os.unlink(self.wjoin(f)) |
|
1267 | 1267 | except OSError, inst: |
|
1268 | self.ui.warn("update failed to remove %s: %s!\n" % (f, inst)) | |
|
1268 | if inst.errno != errno.ENOENT: | |
|
1269 | self.ui.warn("update failed to remove %s: %s!\n" % | |
|
1270 | (f, inst.strerror)) | |
|
1269 | 1271 | # try removing directories that might now be empty |
|
1270 | 1272 | try: os.removedirs(os.path.dirname(self.wjoin(f))) |
|
1271 | 1273 | except: pass |
General Comments 0
You need to be logged in to leave comments.
Login now