D1581: rust: implementation of `hg`

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Jan 11 07:31:11 EST 2018


yuja added inline comments.

INLINE COMMENTS

> kevincox wrote in main.rs:133
> `CString::new(env.python_exe.as_ref().as_bytes())`

That's more correct on Unix, but wouldn't work on Windows since 
native string is UTF-16 variant (Rust) or ANSI (Python 2.7).

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1581

To: indygreg, #hg-reviewers, yuja, durin42
Cc: kevincox, cramertj, yuja, quark, durin42, dlax, mercurial-devel


More information about the Mercurial-devel mailing list