reactos/sdk/tools/winesync
Hermès Bélusca-Maïto 454901ab0b
[WINESYNC] Explicitly use posix paths for git file manipulations.
Whenever using git, be it on Windows CMD, git-bash on Windows, or in
*nix systems, git appears to always use posix-like paths internally.
So, enforce them with posixpath when building/concatenating paths that
are going to be passed to pygit2 functions.

Otherwise, exceptions like the following one happens:

```
  File "./winesync.py", line 296, in revert_staged_patchset
    self.reactos_index.remove(os.path.join(self.staged_patch_dir, patch_file_name))
[... skipped ...]
OSError: index does not contain sdk\tools\winesync\setupapi_staging\0002-wine-staging-4.0-setupapi_winetest.patch at stage 0
```

(The git index actually contains the specified path, but in "posix" form
with slash-separators.)

On *nix platforms, these changes should not matter.
2023-12-18 22:21:35 +01:00
..
d3dx9_staging [WINESYNC] d3dx9_36: Implement ID3DXSkinInfoImpl_UpdateSkinnedMesh. 2021-02-04 16:37:07 +01:00
dbghelp_staging [WINESYNC] dbghelp: Always check for debug symbols in BINDIR. 2020-09-16 10:36:02 +02:00
msi_staging [WINESYNC] msi: Create the custom action server as an elevated process. 2022-03-20 19:28:45 +01:00
wininet_staging [WINESYNC] wininet: Replacing header fields should fail if they do not exist yet. 2021-01-05 11:03:13 +01:00
crt.cfg [WINESYNC]: crt is now in sync with wine-staging wine-5.0 2023-08-19 23:50:52 +03:00
d3dx9.cfg [WINESYNC]: d3dx9 is now in sync with wine-staging wine-6.0-rc5 2021-02-04 16:37:07 +01:00
dbghelp.cfg [DBGHELP_WINETEST] Add from wine-staging 5.16 2020-09-16 10:36:03 +02:00
msi.cfg [WINESYNC]: msi is now in sync with wine-staging wine-7.3 2022-03-20 19:28:46 +01:00
reg.cfg [WINESYNC]: reg is now in sync with wine-staging wine-6.23 2022-06-19 14:13:00 +02:00
winesync.py [WINESYNC] Explicitly use posix paths for git file manipulations. 2023-12-18 22:21:35 +01:00
wininet.cfg [WINESYNC]: wininet is now in sync with wine-staging wine-6.0-rc1 2021-01-05 11:03:13 +01:00