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
eb608f9e
Commit
eb608f9e
authored
Dec 03, 2014
by
Michael Albinus
Browse files
* automated/tramp-tests.el (tramp-test29-vc-registered):
Fallback for changed `vc-register' argument list.
parent
7385c3e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
test/ChangeLog
test/ChangeLog
+5
-0
test/automated/tramp-tests.el
test/automated/tramp-tests.el
+9
-3
No files found.
test/ChangeLog
View file @
eb608f9e
2014-12-03 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-test29-vc-registered):
Fallback for changed `vc-register' argument list.
2014-12-03 Glenn Morris <rgm@gnu.org>
* automated/tramp-tests.el (tramp-test29-vc-registered):
...
...
test/automated/tramp-tests.el
View file @
eb608f9e
...
...
@@ -1469,9 +1469,15 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
(vc-create-repo (car vc-handled-backends))
;; The structure of VC-FILESET is not documented. Let's
;; hope it won't change.
(vc-register
(list (car vc-handled-backends)
(list (file-name-nondirectory tmp-name2)))))
(condition-case nil
(vc-register
(list (car vc-handled-backends)
(list (file-name-nondirectory tmp-name2))))
;; `vc-register' has changed its arguments in Emacs 25.1.
(error
(vc-register
nil (list (car vc-handled-backends)
(list (file-name-nondirectory tmp-name2)))))))
(should (vc-registered tmp-name2)))
(ignore-errors (delete-directory tmp-name1 'recursive)))))
...
...
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