Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
264175a8
Commit
264175a8
authored
Oct 09, 2008
by
Dan Nicolaescu
Browse files
(vc-cvs-dir-stay-local): New variable.
(vc-cvs-dir-status): Use it.
parent
f3d29551
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc-cvs.el
lisp/vc-cvs.el
+9
-1
No files found.
lisp/ChangeLog
View file @
264175a8
2008-10-09 Dan Nicolaescu <dann@ics.uci.edu>
* vc-cvs.el (vc-cvs-dir-stay-local): New variable.
(vc-cvs-dir-status): Use it.
2008-10-08 Chong Yidong <cyd@stupidchicken.com>
* json.el (json-skip-whitespace): Fix last change.
...
...
lisp/vc-cvs.el
View file @
264175a8
...
...
@@ -125,6 +125,14 @@ by these regular expressions."
:version
"21.1"
:group
'vc
)
(
defcustom
vc-cvs-dir-stay-local
nil
"*Non-nil means use local operations when possible for remote repositories.
This avoids slow queries over the network and instead uses heuristics
and past information to determine the current status of files for `vc-dir'."
:type
'boolean
:version
"23.1"
:group
'vc
)
(
defcustom
vc-cvs-sticky-date-format-string
"%c"
"*Format string for mode-line display of sticky date.
Format is according to `format-time-string'. Only used if
...
...
@@ -953,7 +961,7 @@ state."
(defun vc-cvs-dir-status (dir update-function)
"
Create
a
list
of
conses
(
file
.
state
)
for
DIR.
"
;; FIXME check all files in DIR instead?
(if
(
vc-stay-local
-p dir)
(if vc-
cvs-dir-
stay-local
(vc-cvs-dir-status-heuristic dir update-function)
(vc-cvs-command (current-buffer) 'async dir "
-f
" "
status
")
;; Alternative implementation: use the "
update
" command instead of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment