| 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#\207" [require vc-rcs put CVS vc-functions nil] 4)
(defalias 'vc-cvs-revision-granularity #[0 "\300\207" [file] 1])
#@58 CVS-specific version of `vc-checkout-model'.
(fn FILES)
(defalias 'vc-cvs-checkout-model #[257 "\300\301!\203 \302\207\211:\203 \211@\202 \211\303!\304\305\"\2066 \306\305\2034 \307\310\3118\262\"\2034 \302\2025 \312#\207" [getenv "CVSREAD" announce file-attributes vc-file-getprop vc-checkout-model vc-file-setprop string-match "r-..-..-." 8 implicit] 11 (#$ . 242)])
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317\304\320&\210\310\321\312\313\322DD\323\316\324\304\325&\210\310\326\312\313\327DD\330\316\331\304\325&\210\310\332\312\313\333DD\334\316\335\304\336&\210\310\337\312\313\340DD\341\304\305\316\342&\210\310\343\312\313\344DD\345\316\346\304\325&\210\310\347\312\313\350DD\351\316\352\304\353&\210\310\354\312\313\355DD\356\316\357\304\320&\210\310\360\312\313\361DD\362\316\363\304\320&\207" [custom-declare-group vc-cvs nil "VC CVS backend." :version "24.1" :group vc custom-declare-variable vc-cvs-global-switches funcall function #[0 "\300\207" [nil] 1 #1=""] "Global switches to pass to any CVS command." :type (choice (const :tag "None" nil) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "22.1" vc-cvs-register-switches #[0 "\300\207" [nil] 1 #1#] "Switches for registering a file into CVS.\nA string or list of strings passed to the checkin program by\n\\[vc-register]. If nil, use the value of `vc-register-switches'.\nIf t, use no switches." (choice (const :tag "Unspecified" nil) (const :tag "None" t) (string :tag "Argument String") (repeat :tag "Argument List" :value (#1#) string)) "21.1" vc-cvs-diff-switches #[0 "\300\207" [nil] 1 #1#] "String or list of strings specifying switches for CVS 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)) vc-cvs-annotate-switches #[0 "\300\207" [nil] 1 #1#] "String or list of strings specifying switches for cvs 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-cvs-header #[0 "\300\207" [("$Id$")] 1 #1#] "Header keywords to be inserted by `vc-insert-headers'." (repeat string) vc-cvs-use-edit #[0 "\300\207" [t] 1 #1#] "Non-nil means to use `cvs edit' to \"check out\" a file.\nThis is only meaningful if you don't use the implicit checkout model\n(i.e. if you have $CVSREAD set)." boolean vc-cvs-stay-local #[0 "\300\207" [only-file] 1 #1#] "Non-nil means use local operations when possible for remote repositories.\nThis avoids slow queries over the network and instead uses heuristics\nand past information to determine the current status of a file.\n\nIf value is the symbol `only-file', `vc-dir' will connect to the\nserver, but heuristics will be used to determine the status for\nall other VC operations.\n\nThe value can also be a regular expression or list of regular\nexpressions to match against the host name of a repository; then\nvc-cvs only stays local for hosts that match it. Alternatively,\nthe value can be a list of regular expressions where the first\nelement is the symbol `except'; then vc-cvs always stays local\nexcept for hosts matched by these regular expressions." (choice (const :tag "Always stay local" t) (const :tag "Only for file operations" only-file) (const :tag "Don't stay local" nil) (list :format "\nExamine hostname and %v" :tag "Examine hostname ..." (set :format "%v" :inline t (const :format "%t" :tag "don't" except)) (regexp :format " stay local,\n%t: %v" :tag "if it matches") (repeat :format "%v%i\n" :inline t (regexp :tag "or")))) "23.1" vc-cvs-sticky-date-format-string #[0 "\300\207" ["%c"] 1 #1#] "Format string for mode-line display of sticky date.\nFormat is according to `format-time-string'. Only used if\n`vc-cvs-sticky-tag-display' is t." (string) vc-cvs-sticky-tag-display #[0 "\300\207" [t] 1 #1#] "Specify the mode-line display of sticky tags.\nValue t means default display, nil means no display at all. If the\nvalue is a function or macro, it is called with the sticky tag and\nits type as parameters, in that order. TYPE can have three different\nvalues: `symbolic-name' (TAG is a string), `revision-number' (TAG is a\nstring) and `date' (TAG is a date as returned by `encode-time'). The\nreturn value of the function or macro will be displayed as a string.\n\nHere's an example that will display the formatted date for sticky\ndates and the word \"Sticky\" for sticky tag names and revisions.\n\n (lambda (tag type)\n (cond ((eq type \\='date) (format-time-string\n vc-cvs-sticky-date-format-string tag))\n ((eq type \\='revision-number) \"Sticky\")\n ((eq type \\='symbolic-name) \"Sticky\")))\n\nHere's an example that will abbreviate to the first character only,\nany text before the first occurrence of `-' for sticky symbolic tags.\nIf the sticky tag is a revision number, the word \"Sticky\" is\ndisplayed. Date and time is displayed for sticky dates.\n\n (lambda (tag type)\n (cond ((eq type \\='date) (format-time-string \"%Y%m%d %H:%M\" tag))\n ((eq type \\='revision-number) \"Sticky\")\n ((eq type \\='symbolic-name)\n (condition-case nil\n (progn\n (string-match \"\\\\([^-]*\\\\)\\\\(.*\\\\)\" tag)\n (concat (substring (match-string 1 tag) 0 1) \":\"\n (substring (match-string 2 tag) 1 nil)))\n (error tag))))) ; Fall-back to given tag name.\n\nSee also variable `vc-cvs-sticky-date-format-string'." (choice boolean function)] 8)
#@45 Check if FILE is CVS registered.
(fn FILE)
(defalias 'vc-cvs-registered #[257 "\301!\206 \302\303!\304\305\306\307\"!\205K \211\302\230\206K \310\311\312\"r\211q\210\313\314\"\216\315!\210eb\210\316\317\320!\321Q\304\312#\203G \322 \210\323!\210\312\202H \304*\262)\207" [case-fold-search file-name-directory "" file-name-nondirectory nil file-readable-p expand-file-name "CVS/Entries" generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] vc-cvs-get-entries re-search-forward "^/" regexp-quote "/[^/]" beginning-of-line vc-cvs-parse-entry] 8 (#$ . 6088)])
#@48 CVS-specific version of `vc-state'.
(fn FILE)
(defalias 'vc-cvs-state #[257 "\301!\203 \302\303\"\211\304>\203 \305!\207\207\306\307\310\"r\211q\210\311\312\"\216\313\314!!\210\315\316\310\317\320$\210)\321\310!*\207" [process-file-side-effects vc-cvs-stay-local-p vc-file-getprop vc-state (up-to-date edited nil) vc-cvs-state-heuristic generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] cd file-name-directory nil vc-cvs-command 0 "status" vc-cvs-parse-status] 7 (#$ . 6720)])
#@42 CVS-specific state heuristic.
(fn FILE)
(defalias 'vc-cvs-state-heuristic #[257 "\300\301\"\302!\3038\262\232\203 \304\207\305!\306\230\203 \307\207\204$ \310\207\311\207" [vc-file-getprop vc-checkout-time file-attributes 5 up-to-date vc-working-revision "0" added unregistered edited] 5 (#$ . 7275)])
#@59 CVS-specific version of `vc-working-revision'.
(fn FILE)
(defalias 'vc-cvs-working-revision #[257 "\300!\210\301\302\"\207" [vc-cvs-registered vc-file-getprop vc-working-revision] 4 (#$ . 7594)])
#@262 Return a string for `vc-mode-line' to put in the mode line for FILE.
Compared to the default implementation, this function does two things:
Handle the special case of a CVS file that is added but not yet
committed and support display of sticky tags.
(fn FILE)
(defalias 'vc-cvs-mode-line-string #[257 "\300\301\"\302\303\304\"\305\306\307#\262\211\262\310G\306U\203 \202, \311\312#\262\313\314R\307#\207" [vc-file-getprop vc-cvs-sticky-tag nil vc-default-mode-line-string CVS get-text-property 0 help-echo propertize format-message "%s on the `%s' branch" "[" "]"] 9 (#$ . 7800)])
(autoload 'vc-switches "vc")
#@234 Register FILES into the CVS version-control system.
COMMENT can be used to provide an initial description of FILES.
Passes either `vc-cvs-register-switches' or `vc-register-switches'
to the CVS command.
(fn FILES &optional COMMENT)
(defalias 'vc-cvs-register #[513 "\300\211\203$ \211@\301!\204 \302!\203 \303\304!!B\262A\266\202\202 \210\211\203- \305!\210\210\306\307\300\310\311\205E \312\313\"\205E \314P\315\316\317\"&\207" [nil vc-cvs-responsible-p vc-cvs-could-register directory-file-name file-name-directory vc-cvs-register apply vc-cvs-command 0 "add" string-match "[^ \n ]" "-m" vc-switches CVS register] 12 (#$ . 8433)])
#@75 Return the directory if CVS thinks it is responsible for FILE.
(fn FILE)
(defalias 'vc-cvs-responsible-p #[257 "\300!\203\n \211\202
\301!\300\302\303\"!\205 \301\302\303\"!\207" [file-directory-p file-name-directory expand-file-name "CVS"] 6 (#$ . 9092)])
#@144 Return non-nil if FILE could be registered in CVS.
This is only possible if CVS is managing FILE's directory or one of
its parents.
(fn FILE)
(defalias 'vc-cvs-could-register #[257 "\211\211;\203* \211\300!\211\262\232\204* \211\203* \301\302\303\"!\203\"