Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Dec 11, 2024
1 parent 3e7db71 commit 4be9439
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ tee = "0.1"
tempfile = "3"
typenum = "1"
url = "2"
which = "7"

[dependencies.bstr]
version = "1"
Expand Down
1 change: 1 addition & 0 deletions src/hg_connect_stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ pub fn get_stdio_connection(url: &Url, flags: c_int) -> Option<Box<dyn HgRepo>>
path.as_os_str().as_bytes().to_owned()
};
let path = CString::new(path).unwrap();
warn!(target: "root", "{:?}", which::which("hg"));
let proc = unsafe {
hg_connect_stdio(
userhost.as_ref().map_or(ptr::null(), |s| s.as_ptr()),
Expand Down

0 comments on commit 4be9439

Please sign in to comment.