Show More
@@ -369,6 +369,9 b' def updatedir(ui, repo, patches, wlock=N' | |||
|
369 | 369 | if gp and gp.mode: |
|
370 | 370 | x = gp.mode & 0100 != 0 |
|
371 | 371 | dst = os.path.join(repo.root, gp.path) |
|
372 | # patch won't create empty files | |
|
373 | if ctype == 'ADD' and not os.path.exists(dst): | |
|
374 | repo.wwrite(gp.path, '') | |
|
372 | 375 | util.set_exec(dst, x) |
|
373 | 376 | cmdutil.addremove(repo, cfiles, wlock=wlock) |
|
374 | 377 | files = patches.keys() |
General Comments 0
You need to be logged in to leave comments.
Login now