package hg_lib

  1. Overview
  2. Docs

Parameters

module A : sig ... end

Signature

val add : (?includes:string list -> ?excludes:string list -> [ `All_files | `These_files of string list ] -> unit A.Output.t) A.With_args.t
val annotate : (?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 A.Output.t) A.With_args.t
val archive : (?no_decode:unit -> ?prefix:string -> ?rev:string -> ?type_:string -> ?subrepos:unit -> ?includes:string list -> ?excludes:string list -> destination:string -> unit -> unit A.Output.t) A.With_args.t
val bookmarks : (unit -> Open_hg_lib__.Hg_private.Bookmark.Public.t list A.Output.t) A.With_args.t
val change_bookmark : (?force:unit -> name:string -> [ `Set_rev of string | `Current | `Inactive | `Delete | `Rename of string ] -> unit A.Output.t) A.With_args.t
val bundle : (?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 ] A.Output.t) A.With_args.t
val clone : (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 A.Output.t) A.With_args.t
val cat : destination:_ Open_hg_lib__.Hg_private.Destination.Public.t -> (?includes:string list -> ?excludes:string list -> ?rev:string -> ?template:string -> string -> [ `Ok of 'dst | `No_such_file ] A.Output.t) A.With_args.t
val commit : (?addremove:unit -> ?allow_commit_without_bookmark:unit -> ?includes:string list -> ?excludes:string list -> message:string -> ?time:Time_unix.t -> ?zone:Time_unix.Zone.t -> ?user:string -> ?files:string list -> unit -> [ `Ok | `Nothing_changed ] A.Output.t) A.With_args.t
val config : (?untrusted:unit -> ?names:string list -> unit -> (string * string) list A.Output.t) A.With_args.t
val copy : (?forget:unit -> ?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string -> string -> unit A.Output.t) A.With_args.t
val diff : (?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 A.Output.t) A.With_args.t
val extdiff : (?revs:string list -> ?change:string -> ?includes:string list -> ?excludes:string list -> ?program:string -> ?options:string list -> ?files:string list -> unit -> string A.Output.t) A.With_args.t
val files : (?rev:string -> ?includes:string list -> ?excludes:string list -> ?subrepos:unit -> [ `All_files | `These_files of string list ] -> string list A.Output.t) A.With_args.t
val heads : (?rev:string -> ?topo:unit -> ?closed:unit -> unit -> Open_hg_lib__.Hg_private.Changeset_info.Public.t list A.Output.t) A.With_args.t
val id : (?rev:string -> unit -> string A.Output.t) A.With_args.t
val init : (?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?dest:string -> unit -> unit A.Output.t) A.With_args.t
val is_repo : (unit -> bool A.Output.t) A.With_args.t
val log : (?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 -> unit -> Open_hg_lib__.Hg_private.Changeset_info.Public.t list A.Output.t) A.With_args.t
val manifest : (?rev:string -> ?all:unit -> unit -> string list A.Output.t) A.With_args.t
val merge : (?tool:string -> ?allow_commit_without_bookmark:unit -> [ `Unique_other_head | `Rev of string ] -> [ `Ok | `Unresolved_files ] A.Output.t) A.With_args.t
val out : (?force:unit -> ?revs:string list -> ?limit:int -> ?no_merges:unit -> ?ssh:string -> ?remotecmd:string -> ?insecure:unit -> ?remote_path:string -> unit -> Open_hg_lib__.Hg_private.Changeset_info.Public.t list A.Output.t) A.With_args.t
val pull : (?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 A.Output.t) A.With_args.t
val purge : (?abort_on_err:unit -> ?all:unit -> ?dirs:unit -> ?files:unit -> ?includes:string list -> ?excludes:string list -> unit -> unit A.Output.t) A.With_args.t
val push : (?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 ] A.Output.t) A.With_args.t
val remove : (?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string list -> unit A.Output.t) A.With_args.t
val rename : (?after:unit -> ?force:unit -> ?includes:string list -> ?excludes:string list -> string -> string -> unit A.Output.t) A.With_args.t
val mark_resolved : ([ `All_files | `These_files of string list ] -> unit A.Output.t) A.With_args.t

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

val revert : (?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 A.Output.t) A.With_args.t
val root : (unit -> string A.Output.t) A.With_args.t
val share : (?noupdate:unit -> ?bookmarks:unit -> src:string -> dst:string -> unit -> unit A.Output.t) A.With_args.t
val status : (?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 A.Output.t) A.With_args.t
val tags : (unit -> Open_hg_lib__.Hg_private.Tag.Public.t list A.Output.t) A.With_args.t
val unbundle : (?update:unit -> string -> unit A.Output.t) A.With_args.t
val update : (?clean:unit -> ?check:unit -> ?date:Open_hg_lib__.Hg_private.Date_param.Public.t -> ?rev:string -> unit -> unit A.Output.t) A.With_args.t
OCaml

Innovation. Community. Security.