%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/vc/ |
Current File : //usr/local/share/emacs/27.2/lisp/vc/vc-cvs.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (put 'CVS 'vc-functions nil) (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 (#$ . 502)]) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317\304\320\306\301& \210\310\321\312\313\322DD\323\316\324\304\325\306\301& \210\310\326\312\313\327DD\330\316\331\304\325\306\301& \210\310\332\312\313\333DD\334\316\335\304\336\306\301& \210\310\337\312\313\340DD\341\304\305\316\342\306\301& \210\310\343\312\313\344DD\345\316\346\304\325\306\301& \210\310\347\312\313\350DD\351\316\352\304\353\306\301& \210\310\354\312\313\355DD\356\316\357\304\320\306\301& \210\310\360\312\313\361DD\362\316\363\304\320\306\301& \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] "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] "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] "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] "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] "Header keywords to be inserted by `vc-insert-headers'." (repeat string) vc-cvs-use-edit #[0 "\300\207" [t] 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] "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" [#2="%c"] 1 #2#] "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] "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)] 10) #@45 Check if FILE is CVS registered. (fn FILE) (defalias 'vc-cvs-registered #[257 "\301!\206 \302\303!\304\305\306\307\"!\205Q \211\302\230\206Q \310\311!r\211q\210\312\313\314\315\316!\317\"\320$\216\321!\210eb\210\322\323\324!\325Q\304\326#\203M \327 \210\330!\210\326\202N \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*" make-byte-code 0 "\301\300!\205 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 vc-cvs-get-entries re-search-forward "^/" regexp-quote "/[^/]" t beginning-of-line vc-cvs-parse-entry] 10 (#$ . 6392)]) #@48 CVS-specific version of `vc-state'. (fn FILE) (defalias 'vc-cvs-state #[257 "\301!\203 \302\303\"\211\304>\203 \305!\202 \211\207\306\307!r\211q\210\310\311\312\313\314!\315\"\316$\216\317\320!!\210\321\322\323\311\324$\210)\325\323!*\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*" make-byte-code 0 "\301\300!\205 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 cd file-name-directory nil vc-cvs-command t "status" vc-cvs-parse-status] 8 (#$ . 7053)]) #@42 CVS-specific state heuristic. (fn FILE) (defalias 'vc-cvs-state-heuristic #[257 "\300\301\"\302!\3038\262\232\203 \304\202+ \305!\306\230\203\"