mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
* lisp/vc/vc-svn.el (vc-svn-state): Handle FILE with no directory.
This commit is contained in:
parent
ad8ced8bbb
commit
577821f143
1 changed files with 2 additions and 1 deletions
|
|
@ -175,7 +175,8 @@ A value of `default' means to use the value of `vc-resolve-conflicts'."
|
||||||
"SVN-specific version of `vc-state'."
|
"SVN-specific version of `vc-state'."
|
||||||
(let (process-file-side-effects)
|
(let (process-file-side-effects)
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(cd (file-name-directory file))
|
(when-let* ((d (file-name-directory file)))
|
||||||
|
(cd d))
|
||||||
(vc-svn-command t 0 file "status" "-v")
|
(vc-svn-command t 0 file "status" "-v")
|
||||||
(vc-svn-parse-status file))))
|
(vc-svn-parse-status file))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue