From: Dmitry Gutov <dgutov@yandex.ru>
To: 18605@debbugs.gnu.org
Subject: bug#18605: 24.3.93; vc-svn-dir-status-files returns filenames prepended with spaces
Date: Thu, 02 Oct 2014 16:20:53 +0400 [thread overview]
Message-ID: <86mw9efysa.fsf@yandex.ru> (raw)
Tags: patch
Instead of
(("foo" . ignored) ("bar" . edited))
I get
((" foo" . ignored) (" bar" . edited))
with
svn, version 1.8.8 (r1568071)
compiled Aug 13 2014, 17:12:39 on x86_64-pc-linux-gnu
And I have a reason to believe that SVN on Cygwin behaves the same:
https://github.com/dgutov/diff-hl/issues/25#issuecomment-57606933
Attaching a tiny patch, although there's probably a better way to fix
that regexp.
In GNU Emacs 24.3.93.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
of 2014-09-19 on axl
Repository revision: 117510 juri@jurta.org-20140918205955-kwp5ckzrk2l4w1km
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04.1 LTS
=== modified file 'lisp/vc/vc-svn.el'
--- lisp/vc/vc-svn.el 2014-01-01 07:43:34 +0000
+++ lisp/vc/vc-svn.el 2014-10-02 12:19:00 +0000
@@ -195,7 +195,7 @@
(?~ . edited)))
(re (if remote "^\\(.\\)\\(.\\).....? \\([ *]\\) +\\(?:[-0-9]+\\)? \\(.*\\)$"
;; Subexp 3 is a dummy in this case, so the numbers match.
- "^\\(.\\)\\(.\\)...\\(.\\) \\(.*\\)$"))
+ "^\\(.\\)\\(.\\)...\\(.\\) +\\(.*\\)$"))
result)
(goto-char (point-min))
(while (re-search-forward re nil t)
next reply other threads:[~2014-10-02 12:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-02 12:20 Dmitry Gutov [this message]
2014-10-02 12:53 ` bug#18605: 24.3.93; vc-svn-dir-status-files returns filenames prepended with spaces Stefan Monnier
2014-10-02 13:49 ` Dmitry Gutov
2014-10-02 19:16 ` Glenn Morris
2014-10-02 19:50 ` Dmitry Gutov
2014-10-02 20:12 ` Glenn Morris
2014-10-02 20:18 ` Dmitry Gutov
2014-10-03 0:42 ` Stefan Monnier
2014-10-03 0:50 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86mw9efysa.fsf@yandex.ru \
--to=dgutov@yandex.ru \
--cc=18605@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).