[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[patch] fix vc-svn for Subversion r3396

From: Martin Pool <mbp_at_sourcefrog.net>
Date: 2002-12-01 03:16:17 CET

Subversion r3396 changed from using '_' as the status character for
"unchanged" to ' '. This seems to have broken vc-svn.el, though
apparently not psvn.

I can't believe nobody else noticed... but here it is anyhow.

-- 
Martin
Please cc me on replies.
Index: vc-svn.el
===================================================================
--- vc-svn.el	(revision 3946)
+++ vc-svn.el	(working copy)
@@ -130,9 +130,9 @@
     (cond
      ((not state) nil)
      ;; A newly added file has no revision.
-     ((looking-at "\\S-+\\s-+\\(\\*\\s-+\\)?\\0\\s-+\\?")
+     ((looking-at "....\\s-+\\(\\*\\s-+\\)?\\0\\s-+\\?")
       (list state "0" nil))
-     ((looking-at "\\S-+\\s-+\\(\\*\\s-+\\)?\\([0-9]+\\)\\s-+\\([0-9]+\\)")
+     ((looking-at "....\\s-+\\(\\*\\s-+\\)?\\([0-9]+\\)\\s-+\\([0-9]+\\)")
       (list state
             (match-string 2)
             (match-string 3)))
@@ -154,12 +154,12 @@
    ;;                     user, but there is a more recent version
    ;;                     on the current branch stored in the
    ;;                     master file.
-   ((looking-at "_[_ ]..\\s-+\\*") 'needs-patch)
+   ((looking-at "  ..\\s-+\\*") 'needs-patch)
 
    ;; 'up-to-date         The working file is unmodified with
    ;;                     respect to the latest version on the
    ;;                     current branch, and not locked.
-   ((looking-at "_[_ ]") 'up-to-date)
+   ((looking-at "  ") 'up-to-date)
 
    ;; 'needs-merge        The file has been edited by the user,
    ;;                     and there is also a more recent version
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 1 03:20:55 2002

This is an archived mail posted to the Subversion Dev mailing list.