package hg_lib

  1. Overview
  2. Docs

Parameters

module E : sig ... end

Signature

val add : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?includes:string list -> ?excludes:string list -> [ `All_files | `These_files of string list ] -> unit Async.Deferred.Or_error.t
val addremove : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?includes:string list -> ?excludes:string list -> ?similarity:int -> [ `All_files | `These_files of string list ] -> unit Async.Deferred.Or_error.t
val annotate : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?rev:string -> ?user:unit -> ?file:unit -> ?date:unit -> ?number:unit -> ?changeset:unit -> ?skip:string list -> ?ignore_space_change:unit -> ?ignore_blank_lines:unit -> ?ignore_space_at_eol:unit -> ?includes:string list -> ?excludes:string list -> ?template:string -> string -> string list Async.Deferred.Or_error.t
val archive : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?no_decode:unit -> ?prefix:string -> ?rev:string -> ?type_:string -> ?subrepos:unit -> ?includes:string list -> ?excludes:string list -> destination:string -> unit -> unit Async.Deferred.Or_error.t
val bookmarks : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> unit -> Open_hg_lib__.Hg_private.Bookmark.Public.t list Async.Deferred.Or_error.t
val change_bookmark : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?force:unit -> name:string -> [ `Set_rev of string | `Current | `Inactive | `Delete | `Rename of string ] -> unit Async.Deferred.Or_error.t
val bundle : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?force:unit -> ?revs:string list -> ?branches:string list -> ?bases:string list -> ?all:unit -> ?compression_type:string -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?destination:string -> string -> [ `Ok | `Nothing_to_bundle ] Async.Deferred.Or_error.t
val clone : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> source:string -> ?destination:string -> ?update:[ `Rev of string | `No_update ] -> ?revs:string list -> ?branches:string list -> ?pull:unit -> ?uncompressed:unit -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> unit -> unit Async.Deferred.Or_error.t
val cat : destination:_ Open_hg_lib__.Hg_private.Destination.Public.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?includes:string list -> ?excludes:string list -> ?rev:string -> ?template:string -> string -> [ `Ok of 'dst | `No_such_file ] Async.Deferred.Or_error.t
val commit : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?addremove:unit -> ?allow_commit_without_bookmark:unit -> ?includes:string list -> ?excludes:string list -> message:string -> ?time:Time_float_unix.t -> ?zone:Time_float_unix.Zone.t -> ?user:string -> ?files:string list -> unit -> [ `Ok | `Nothing_changed ] Async.Deferred.Or_error.t
val config : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?untrusted:unit -> ?names:string list -> unit -> (string * string) list Async.Deferred.Or_error.t
val copy : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?forget:unit -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string -> string -> unit Async.Deferred.Or_error.t
val diff : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?revs:string list -> ?change:string -> ?text:unit -> ?git:unit -> ?reverse:unit -> ?ignore_all_space:unit -> ?ignore_space_change:unit -> ?ignore_blank_lines:unit -> ?unified:int -> ?stat:unit -> ?includes:string list -> ?excludes:string list -> ?subrepos:unit -> ?files:string list -> unit -> string Async.Deferred.Or_error.t
val extdiff : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?revs:string list -> ?change:string -> ?includes:string list -> ?excludes:string list -> ?program:string -> ?options:string list -> ?files:string list -> unit -> string Async.Deferred.Or_error.t
val files : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?rev:string -> ?includes:string list -> ?excludes:string list -> ?subrepos:unit -> [ `All_files | `These_files of string list ] -> string list Async.Deferred.Or_error.t
val heads : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?rev:string -> ?topo:unit -> ?closed:unit -> ?include_files_in_changeset_info:unit -> unit -> Open_hg_lib__.Hg_private.Changeset_info.Public.t list Async.Deferred.Or_error.t
val id : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?rev:string -> unit -> string Async.Deferred.Or_error.t
val init : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?dest:string -> unit -> unit Async.Deferred.Or_error.t
val is_repo : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> unit -> bool Async.Deferred.Or_error.t
val log : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?follow:unit -> ?date:Open_hg_lib__.Hg_private.Date_param.Public.t -> ?copies:unit -> ?keywords:string list -> ?revs:string list -> ?removed:unit -> ?users:string list -> ?branches:string list -> ?prune_revs:string list -> ?limit:int -> ?no_merges:unit -> ?includes:string list -> ?excludes:string list -> ?files:string list -> ?include_files_in_changeset_info:unit -> unit -> Open_hg_lib__.Hg_private.Changeset_info.Public.t list Async.Deferred.Or_error.t
val manifest : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?rev:string -> ?all:unit -> unit -> string list Async.Deferred.Or_error.t
val merge : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?tool:string -> ?allow_commit_without_bookmark:unit -> [ `Unique_other_head | `Rev of string ] -> [ `Ok | `Unresolved_files ] Async.Deferred.Or_error.t
val out : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?force:unit -> ?revs:string list -> ?limit:int -> ?no_merges:unit -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?remote_path:string -> ?include_files_in_changeset_info:unit -> unit -> Open_hg_lib__.Hg_private.Changeset_info.Public.t list Async.Deferred.Or_error.t
val pull : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?update:unit -> ?force:unit -> ?revs:string list -> ?bookmarks:string list -> ?branches:string list -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?rebase:unit -> ?remote_path:string -> unit -> unit Async.Deferred.Or_error.t
val purge : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?abort_on_err:unit -> ?all:unit -> ?dirs:unit -> ?files:unit -> ?includes:string list -> ?excludes:string list -> unit -> unit Async.Deferred.Or_error.t
val push : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?force:unit -> ?revs:string list -> ?bookmarks:string list -> ?branches:string list -> ?new_branch:unit -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?remote_path:string -> unit -> [ `Ok | `Nothing_to_push ] Async.Deferred.Or_error.t
val remove : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string list -> unit Async.Deferred.Or_error.t
val rename : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string -> string -> unit Async.Deferred.Or_error.t
val mark_resolved : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> [ `All_files | `These_files of string list ] -> unit Async.Deferred.Or_error.t

Calls hg resolve with --mark to mark files as resolved.

val revert : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?date:Open_hg_lib__.Hg_private.Date_param.Public.t -> ?rev:string -> ?no_backup:unit -> ?includes:string list -> ?excludes:string list -> [ `All_files | `These_files of string list ] -> unit Async.Deferred.Or_error.t
val root : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> unit -> string Async.Deferred.Or_error.t
val share : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?noupdate:unit -> ?bookmarks:unit -> src:string -> dst:string -> unit -> unit Async.Deferred.Or_error.t
val status : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?rev:string -> ?rev2:string -> ?change:string -> ?includes:string list -> ?excludes:string list -> ?subrepos:unit -> unit -> Open_hg_lib__.Hg_private.File_status.Public.t list Async.Deferred.Or_error.t
val tags : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> unit -> Open_hg_lib__.Hg_private.Tag.Public.t list Async.Deferred.Or_error.t
val unbundle : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?update:unit -> string -> unit Async.Deferred.Or_error.t
val update : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> ?clean:unit -> ?check:unit -> ?date:Open_hg_lib__.Hg_private.Date_param.Public.t -> ?rev:string -> unit -> unit Async.Deferred.Or_error.t
val get_default_url : ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?env:Async.Process.env -> unit -> string option Async.Deferred.Or_error.t

hg show paths.default

OCaml

Innovation. Community. Security.