bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6333: VC-dir shows added dirs twice


From: Dan Nicolaescu
Subject: bug#6333: VC-dir shows added dirs twice
Date: Fri, 11 Jun 2010 01:51:39 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Package: Emacs
> Version: 24.0.50
>
> Under Bzr at least, VC-dir shows added dirs twice (once as added
> element, and once as parent of some other element, I guess), as
> `test/indent' below:
>
>                          ./
>                          lisp/emacs-lisp/
>     edited               lisp/emacs-lisp/smie.el
>                          test/
>     added                test/indent/
>                          test/indent/
>     added                test/indent/Makefile
>     added                test/indent/prolog.prolog

This happens because "bzr status" returns test/indent/ and
test/indent/Makefile as "added".  

vc-dir shows subdirectory names so the one can apply VC operations on
them, it only expects file names from the backend.

bzr is a bit strange, if you do:

mkdir one two
touch two/three

bzr add one two/three

bzr status will show 

one
two 
two/three

as added.

Probably `vc-bzr-after-dir-status' should filter out `two' in the situation 
above.








reply via email to

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