| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/vc/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\316DD\317\320\321\306\322&\210\312\323\314\315\324DD\325\320\326\306\327&\210\312\330\314\315\331DD\332\320\333\306\334&\210\312\335\314\315\336DD\337\320\340\306\341&\210\312\342\314\315\343DD\344\320\345%\210\312\346\314\315\347DD\350\320\351\306\352&\210\312\353\314\315\354DD\355\320\356\306\357&\210\360\361\362\304#\207" [require cl-lib custom-declare-group vc-hg nil "VC Mercurial (hg) backend." :version "24.1" :group vc custom-declare-variable vc-hg-global-switches funcall function #[0 "\300\207" [nil] 1 #1=""] "Global switches to pass to any Hg command." :type (choice (const :tag "None" nil) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "22.2" vc-hg-diff-switches #[0 "\300\207" [t] 1 #1#] "String or list of strings specifying switches for Hg diff under VC.\nIf nil, use the value of `vc-diff-switches'. If t, use no switches." (choice (const :tag "Unspecified" nil) (const :tag "None" t) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "23.1" vc-hg-annotate-switches #[0 "\300\207" [("-u" "--follow")] 1 #1#] "String or list of strings specifying switches for hg annotate under VC.\nIf nil, use the value of `vc-annotate-switches'. If t, use no\nswitches." (choice (const :tag "Unspecified" nil) (const :tag "None" t) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "25.1" vc-hg-revert-switches #[0 "\300\207" [nil] 1 #1#] "String or list of strings specifying switches for hg revert under VC." (choice (const :tag "None" nil) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "27.1" vc-hg-program #[0 "\300\207" ["hg"] 1 #1#] "Name of the Mercurial executable (excluding any arguments)." string vc-hg-root-log-format #[0 "\300\301\302BB\207" ["{rev}:{ifeq(branch, 'default','', '{branch}')}:{bookmarks}:{tags}:{author|person} {date|shortdate} {desc|firstline}\\n" "^\\(?:[+@o x|-]*\\)\\([0-9]+\\):\\([^:]*\\):\\([^:]*\\):\\([^:]*\\):\\(.*?\\)[ ]+\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\)" (((1 'log-view-message) (2 'change-log-file) (3 'change-log-list) (4 'change-log-conditionals) (5 'change-log-name) (6 'change-log-date)))] 3 #1#] "Mercurial log template for `vc-hg-print-log' short format.\nThis should be a list (TEMPLATE REGEXP KEYWORDS), where TEMPLATE\nis the \"--template\" argument string to pass to Mercurial,\nREGEXP is a regular expression matching the resulting Mercurial\noutput, and KEYWORDS is a list of `font-lock-keywords' for\nhighlighting the Log View buffer." (list string regexp (repeat sexp)) "24.5" vc-hg-create-bookmark #[0 "\300\207" [t] 1 #1#] "This controls whether `vc-create-tag' will create a bookmark or branch.\nIf nil, named branch will be created.\nIf t, bookmark will be created.\nIf `ask', you will be prompted for a branch type." (choice (const :tag "No" nil) (const :tag "Yes" t) (const :tag "Ask" ask)) "28.1" put Hg vc-functions] 8)
(defvar vc-hg-history nil)
(defalias 'vc-hg-revision-granularity #[0 "\300\207" [repository] 1])
#@14
(fn FILES)
(defalias 'vc-hg-checkout-model #[257 "\300\207" [implicit] 2 (#$ . 3207)])
(defalias 'vc-hg-update-on-retrieve-tag #[0 "\300\207" [nil] 1])
#@58 Return non-nil if FILE is registered with hg.
(fn FILE)
(defalias 'vc-hg-registered #[257 "\300!\205 \301\302\"\211\303>\203 \304\301\305#\210\305\202 \306\262\207" [vc-hg-root vc-state Hg (ignored unregistered nil) vc-file-setprop nil t] 6 (#$ . 3367)])
#@47 Hg-specific version of `vc-state'.
(fn FILE)
(defalias 'vc-hg-state #[257 "\300!\211\301=\203
\302!\207\207" [vc-hg-state-fast unsupported vc-hg-state-slow] 4 (#$ . 3636)])
#@52 Determine status of FILE by running hg.
(fn FILE)
(defalias 'vc-hg-state-slow #[257 "\304!\262\305\306!\307\310\311\"\312\216 r q\210\3131; \314\315\316\317E\n\"\320\305\311\305\321\322\321\323\321\324\325\326\327!&
)0\202= \210\305\262*r q\210\330 +\331=\205\210 \211G\331V\205\210 \332\333\"?\205\210 \211\331H\211\334\267\202\205 \335\202\206 \336\202\206 \337\202\206 \340\202\206 \341\202\206 \342\202\206 \343\202\206 \335\202\206 \335\262)\207" [default-directory standard-output process-environment vc-hg-program expand-file-name nil file-name-directory generate-new-buffer " *string-output*" t #[0 "\301!\207" [standard-output kill-buffer] 2] (error) append "TERM=dumb" "LANGUAGE=C" "HGPLAIN=1" process-file "--config" "ui.report_untrusted=0" "alias.status=status" "defaults.status=" "status" "-A" file-relative-name buffer-string 0 string-match ".*: No such file or directory$" #s(hash-table size 8 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (61 101 65 105 77 109 73 113 82 117 33 121 63 125 67 129)) up-to-date added edited ignored removed missing unregistered] 17 (#$ . 3819)])
#@58 Hg-specific version of `vc-working-revision'.
(fn FILE)
(defalias 'vc-hg-working-revision #[257 "\3011# \302\303\304\"\305\216\306\307\310\311\312\313\314\315&\210)rq\210\316 +0\207\210\310\207" [standard-output (error) generate-new-buffer " *string-output*" t #[0 "\301!\207" [standard-output kill-buffer] 2] vc-hg-command 0 nil "log" "-r" "." "--template" "{rev}" buffer-string] 10 (#$ . 4952)])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\315\310\311&\207" [custom-declare-variable vc-hg-symbolic-revision-styles funcall function #[0 "\300\207" [(builtin-active-bookmark "{if(bookmarks,sub(' ',',',bookmarks),if(phabdiff,phabdiff,shortest(node,6)))}")] 1 #1=""] "List of ways to present versions symbolically.\nThe version that we use is the first one that successfully\nproduces a non-empty string.\n\nEach entry in the list can be either:\n\n- The symbol `builtin-active-bookmark', which indicates that we\nshould use the active bookmark if one exists. A template can\nsupply this information as well, but `builtin-active-bookmark' is\nhandled entirely inside Emacs and so is more efficient than using\nthe generic Mercurial mechanism.\n\n- A string giving the Mercurial template to supply to \"hg\nparent\". \"hg help template\" may be useful reading.\n\n- A function to call; it should accept two arguments (a revision\nand an optional path to which to limit history) and produce a\nstring. The function is called with `default-directory' set to\nwithin the repository.\n\nIf no list entry produces a useful revision, return nil." :type (repeat (choice (const :tag "Active bookmark" builtin-active-bookmark) (string :tag "Hg template") (function :tag "Custom"))) :version "26.1" vc-hg-use-file-version-for-mode-line-version #[0 "\300\207" [nil] 1 #1#] "When enabled, the modeline contains revision information for the visited file.\nWhen not, the revision in the modeline is for the repository\nworking copy. nil is the much faster setting for\nlarge repositories." boolean] 8)
#@12
(fn REV)
(defalias 'vc-hg--active-bookmark-internal #[257 "\211\300\232\205, \301\302!\205, \3031* \304\305\306\"r\211q\210\307\310\"\216\311\302!\210\312ed\"*\2620\207\210\313\207" ["." file-exists-p ".hg/bookmarks.current" (error) generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] insert-file-contents buffer-substring-no-properties nil] 5 (#$ . 7003)])
#@26
(fn TEMPLATE REV PATH)
(defalias 'vc-hg--run-log #[771 "\3011<