1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00

(vc-svn-repository-hostname): Adjust to non-XML format of newer .svn/entries.

This commit is contained in:
Stefan Monnier 2007-06-26 16:39:58 +00:00
parent 8d0d84d25d
commit 0b0dad411f
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
* log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
* vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
of newer .svn/entries.
2007-06-25 David Kastrup <dak@gnu.org>
* calc/calc-poly.el (math-padded-polynomial)

View File

@ -492,7 +492,9 @@ and that it passes `vc-svn-global-switches' to it before FLAGS."
;; Old `svn' used name="svn:this_dir", newer use just name="".
(concat "name=\"\\(?:svn:this_dir\\)?\"[\n\t ]*"
"\\(?:[-a-z]+=\"[^\"]*\"[\n\t ]*\\)*?"
"url=\"\\([^\"]+\\)\"") nil t)
"url=\"\\(?1:[^\"]+\\)\""
;; Yet newer ones don't use XML any more.
"\\|^\ndir\n[0-9]+\n\\(?1:.*\\)") nil t)
;; This is not a hostname but a URL. This may actually be considered
;; as a feature since it allows vc-svn-stay-local to specify different
;; behavior for different modules on the same server.