D6473: rust-dirstate: architecture independence fix
Phabricator
phabricator at mercurial-scm.org
Mon Jun 3 09:26:01 EDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7f22b45ab36c: rust-dirstate: architecture independence fix (authored by 'Georges Racinet <georges.racinet at octobus.net>', committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6473?vs=15325&id=15328
REVISION DETAIL
https://phab.mercurial-scm.org/D6473
AFFECTED FILES
rust/hg-cpython/src/dirstate.rs
CHANGE DETAILS
diff --git a/rust/hg-cpython/src/dirstate.rs b/rust/hg-cpython/src/dirstate.rs
--- a/rust/hg-cpython/src/dirstate.rs
+++ b/rust/hg-cpython/src/dirstate.rs
@@ -70,7 +70,7 @@
py,
PyBytes::new(py, &filename[..]),
decapsule_make_dirstate_tuple(py)?(
- entry.state,
+ entry.state as c_char,
entry.mode,
entry.size,
entry.mtime,
@@ -170,7 +170,7 @@
py,
PyBytes::new(py, &filename[..]),
decapsule_make_dirstate_tuple(py)?(
- state, mode, size, mtime,
+ state as c_char, mode, size, mtime,
),
)?;
}
To: gracinet, #hg-reviewers
Cc: durin42, kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list