unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18579: 24.3.93; vc-bzr-after-dir-status should not skip ignored files
@ 2014-09-28 22:17 Dmitry Gutov
  2014-09-29  2:14 ` Stefan Monnier
  2014-09-29 13:29 ` Stefan Monnier
  0 siblings, 2 replies; 20+ messages in thread
From: Dmitry Gutov @ 2014-09-28 22:17 UTC (permalink / raw)
  To: 18579

Tags: patch

Description of `dir-status-files' in vc.el says that this command's
output should include ignored files. vc-git implementation does, vc-bzr
implementation doesn't.

This is a problem in the context of the current feature request for
diff-hl to highlight ignored files in Dired buffers:

https://github.com/dgutov/diff-hl/issues/25

The trivial patch at the bottom seems to work okay.

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-bzr.el'
--- lisp/vc/vc-bzr.el	2014-02-10 01:34:22 +0000
+++ lisp/vc/vc-bzr.el	2014-09-28 22:10:02 +0000
@@ -983,7 +983,7 @@
               (push (list new-name 'edited
                           (vc-bzr-create-extra-fileinfo old-name)) result)))
            ;; do nothing for non existent files
-           ((memq translated '(not-found ignored)))
+           ((memq translated '(not-found)))
            (t
             (push (list (file-relative-name
                          (buffer-substring-no-properties






^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-11-24  2:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 22:17 bug#18579: 24.3.93; vc-bzr-after-dir-status should not skip ignored files Dmitry Gutov
2014-09-29  2:14 ` Stefan Monnier
2014-09-29  2:21   ` Dmitry Gutov
2014-09-29  2:34     ` Stefan Monnier
2014-09-29  2:39       ` Dmitry Gutov
2014-09-29  2:29   ` Dmitry Gutov
2014-09-29 13:24     ` Stefan Monnier
2014-09-29 22:51       ` Dmitry Gutov
2014-09-30  0:31         ` Stefan Monnier
2014-09-30  0:33           ` Dmitry Gutov
2014-09-30  3:38             ` Stefan Monnier
2014-09-30 15:06               ` Dmitry Gutov
2014-09-30 18:07                 ` Stefan Monnier
2014-10-01  2:11                   ` Dmitry Gutov
2014-11-24  2:19                   ` Dmitry Gutov
2014-09-29 13:29 ` Stefan Monnier
2014-09-29 23:05   ` Dmitry Gutov
2014-09-30  0:34     ` Stefan Monnier
2014-09-30  1:23       ` Dmitry Gutov
2014-10-03  1:03   ` Dmitry Gutov

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).