bzr ls shouldn't show ignored files by default?

Bug #522015 reported by Andrew Cowie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

$ bzr ls -R | grep \~ | wc -l
35

That's odd. The `ls` command doesn't show other ignored files. And yet `bzr ignored`'s output includes filtering ~ revert backup files. So it's like ls is honouring ignore, except for ~N~ files. Weird.

AfC

Revision history for this message
Martin Pool (mbp) wrote :

I don't think there's anything special about tildes: for me it shows all tree files, including ignored ones. Use 'ls -V' if you want only versioned files.

Changed in bzr:
status: New → Invalid
Revision history for this message
Martin Pool (mbp) wrote :

ok, so there's nothing special about name matching, but perhaps showing unversioned files is surprising?

summary: - bzr ls shouldn't show .~1~ revert files
+ bzr ls shouldn't show ignored files by default?
Changed in bzr:
importance: Undecided → Wishlist
status: Invalid → Confirmed
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 522015] Re: bzr ls shouldn't show ignored files by default?

On Mon, 2010-02-15 at 06:31 +0000, Martin Pool wrote:
> ok, so there's nothing special about name matching, but perhaps showing
> unversioned files is surprising?

I think its surprising when --recurse ignores unversioned files.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

"bzr ls" and "bzr ls --recursive" are now consistent in both showing unversioned files by default.

tags: added: ls
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.