]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-svn-repository-hostname): Adjust to non-XML format of newer .svn/entries.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Jun 2007 16:39:58 +0000 (16:39 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Jun 2007 16:39:58 +0000 (16:39 +0000)
lisp/ChangeLog
lisp/vc-svn.el

index e0280187265abe2a4ea051b35c9e4fed9f761604..c910fc5478ace2bd39b5e775d0ba2c7c5afdf84b 100644 (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)
index b109f48d91dbe28ab4553d4f3b447c272cc1b74b..2c6046cab361f39916dec846dae23b453f24351f 100644 (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.