2013-10-09 Glenn Morris <rgm@gnu.org>
+ * vc/vc-svn.el (vc-svn-create-repo):
+ Expand paths in file://... url. (Bug#15446)
+
* emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
Add some entries.
(authors): Remove unused local variables.
(defun vc-svn-create-repo ()
"Create a new SVN repository."
(vc-do-command "*vc*" 0 "svnadmin" '("create" "SVN"))
+ ;; Expand default-directory because svn gets confused by eg
+ ;; file://~/path/to/file. (Bug#15446).
(vc-svn-command "*vc*" 0 "." "checkout"
- (concat "file://" default-directory "SVN")))
+ (concat "file://" (expand-file-name default-directory) "SVN")))
(autoload 'vc-switches "vc")