package hg_lib

  1. Overview
  2. Docs
val add : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?includes:string list -> ?excludes:string list -> [ `All_files | `These_files of string list ] -> unit Async.Deferred.Or_error.t
val addremove : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?includes:string list -> ?excludes:string list -> ?similarity:int -> [ `All_files | `These_files of string list ] -> unit Async.Deferred.Or_error.t
val annotate : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> unit -> Open_hg_lib__.Hg_private.Bookmark.Public.t list Async.Deferred.Or_error.t
val change_bookmark : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?force:unit -> name:string -> [ `Set_rev of string | `Current | `Inactive | `Delete | `Rename of string ] -> unit Async.Deferred.Or_error.t
val bundle : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> 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 -> server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?includes:string list -> ?excludes:string list -> ?rev:string -> ?template:string -> string -> [ `Ok of 'dst | `No_such_file ] Async.Deferred.Or_error.t
val commit : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?untrusted:unit -> ?names:string list -> unit -> (string * string) list Async.Deferred.Or_error.t
val copy : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?forget:unit -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string -> string -> unit Async.Deferred.Or_error.t
val diff : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?rev:string -> unit -> string Async.Deferred.Or_error.t
val init : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?dest:string -> unit -> unit Async.Deferred.Or_error.t
val is_repo : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> unit -> bool Async.Deferred.Or_error.t
val log : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?rev:string -> ?all:unit -> unit -> string list Async.Deferred.Or_error.t
val merge : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?tool:string -> ?allow_commit_without_bookmark:unit -> [ `Unique_other_head | `Rev of string ] -> [ `Ok | `Unresolved_files ] Async.Deferred.Or_error.t
val out : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string list -> unit Async.Deferred.Or_error.t
val rename : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string -> string -> unit Async.Deferred.Or_error.t
val mark_resolved : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> [ `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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> unit -> string Async.Deferred.Or_error.t
val share : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?noupdate:unit -> ?bookmarks:unit -> src:string -> dst:string -> unit -> unit Async.Deferred.Or_error.t
val status : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> unit -> Open_hg_lib__.Hg_private.Tag.Public.t list Async.Deferred.Or_error.t
val unbundle : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?update:unit -> string -> unit Async.Deferred.Or_error.t
val update : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> ?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 : server:Command_server.t -> ?repository:string -> ?cwd:string -> ?config:(string * string) list -> unit -> string option Async.Deferred.Or_error.t

hg show paths.default

OCaml

Innovation. Community. Security.