mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[WINESYNC] Properly handle the case when the file doesn't exist on ReactOS side
This commit is contained in:
parent
5a47b6e97b
commit
81c312d3e0
1 changed files with 2 additions and 1 deletions
|
@ -187,7 +187,8 @@ class wine_sync:
|
|||
|
||||
if delta.status == pygit2.GIT_DELTA_DELETED:
|
||||
self.reactos_index.remove(old_reactos_path)
|
||||
else:
|
||||
# here we check if the file exists. We don't complain, because applying the patch already failed anyway
|
||||
elif os.path.isfile(os.path.join(self.reactos_src, new_reactos_path)):
|
||||
self.reactos_index.add(new_reactos_path)
|
||||
|
||||
complete_patch += blob_patch.text
|
||||
|
|
Loading…
Reference in a new issue