emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 255d2a5: vc-svn-dir-status-files: Parse output with


From: Dmitry Gutov
Subject: [Emacs-diffs] master 255d2a5: vc-svn-dir-status-files: Parse output with the remote format
Date: Fri, 16 Jan 2015 03:24:23 +0000

branch: master
commit 255d2a5a53083d676977023e9772d97095c6db46
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    vc-svn-dir-status-files: Parse output with the remote format
    
    Fixes: debbugs:19429
    
    * lisp/vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
    vc-svn-after-dir-status's second argument.
---
 lisp/ChangeLog    |    5 +++++
 lisp/vc/vc-svn.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 64c3305..908c027 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-16  Dmitry Gutov  <address@hidden>
+
+       * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
+       vc-svn-after-dir-status's second argument.  (Bug#19429)
+
 2015-01-16  Samer Masterson  <address@hidden>  (tiny change)
 
        * pcomplete.el (pcomplete-parse-arguments): Parse arguments
diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el
index bae178d..d74daf9 100644
--- a/lisp/vc/vc-svn.el
+++ b/lisp/vc/vc-svn.el
@@ -164,6 +164,7 @@ If you want to force an empty list of arguments, use t."
 
 ;; FIXME it would be better not to have the "remote" argument,
 ;; but to distinguish the two output formats based on content.
+;; FIXME: the local format isn't used by the (sole) caller anymore.
 (defun vc-svn-after-dir-status (callback &optional remote)
   (let ((state-map '((?A . added)
                      (?C . conflict)
@@ -208,7 +209,7 @@ CALLBACK is called as (CALLBACK RESULT BUFFER), where
 RESULT is a list of conses (FILE . STATE) for directory DIR."
   ;; FIXME shouldn't this rather default to all the files in dir?
   (apply #'vc-svn-command (current-buffer) 'async nil "status" "-u" files)
-  (vc-run-delayed (vc-svn-after-dir-status callback)))
+  (vc-run-delayed (vc-svn-after-dir-status callback t)))
 
 (defun vc-svn-dir-extra-headers (_dir)
   "Generate extra status headers for a Subversion working copy."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]