Module B0_vcs_repo.Hg

Mercurial specific operations.

val get_cmd : ?search:B0_std.Cmd.tool_search -> ?cmd:B0_std.Cmd.t -> unit -> (B0_std.Cmd.t, string) Stdlib.result

get_cmd () looks for hg with Os.Cmd.get ?search.

val find : ?search:B0_std.Cmd.tool_search -> ?dir:B0_std.Fpath.t -> unit -> (t option, string) Stdlib.result

find ~dir () finds, using VCS functionality, an hg repository starting in directory dir (if unspecified this is the cwd).