need a way to see default ignore list

Bug #538703 reported by Parth Malwankar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Parth Malwankar

Bug Description

I am not quite sure whats happening here but 'bzr add' does not see a file named 'file0.a'. 'bzr add file0.a' works fine though. This is bzr 2.1 on ubuntu 9.10.

[tmp]% bzr init abc
Created a standalone tree (format: 2a)
[tmp]% cd abc
[abc]% echo hello > file0.a
[abc]% cat file0.a
hello
[abc]% bzr add
[abc]% bzr st
[abc]%
[abc]% which bzr
/usr/bin/bzr
[abc]% bzr version
Bazaar (bzr) 2.1.0
  Python interpreter: /usr/bin/python 2.6.4
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.31-20-generic-i686-with-Ubuntu-9.10-karmic
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/parthm/.bazaar
  Bazaar log file: /home/parthm/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

[abc]% bzr add file0.a
adding file0.a
[abc]% bzr st
added:
  file0.a
[abc]% bzr ci -m "added file0.a"
Committing to: /home/parthm/tmp/abc/
added file0.a
Committed revision 1.
[abc]%
[abc]% echo hello > file0.b
[abc]% bzr add
adding file0.b
[abc]% bzr ci -m "added file0.b"
Committing to: /home/parthm/tmp/abc/
added file0.b
Committed revision 2.
[abc]%

Tags: ignore

Related branches

Revision history for this message
Parth Malwankar (parthm) wrote :

Ok. I think I get it. I think this file is getting ignored as bzr thinks its an archive file. Which is fine. Is there any way for me to know what files are ignored by default?

The following don't work.

[abc]% bzr ls --ignored
[abc]% bzr ignored
[abc]%

Revision history for this message
Parth Malwankar (parthm) wrote :

Using -v with ignored and ls shows what files in the current working copy are ignored but I wasn't able to locate ignored files in the docs. Is there such a list? In that case I can mark this as invalid. If not maybe the bug should be either to add this list to docs or better still have an option like --list-all which would simply list all the ignore global/default and branch specific ignore patterns.

[ig]% bzr ls --ignored -v
I foo.a
[ig]% bzr ignored -v
foo.a *.a
[ig]%

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

I thought there was an option under "bzr ignore" for this, but I can't see it. We should add one and make sure it's documented.

tags: added: ignore
summary: - 'bzr add' does not see a file
+ need a way to see default ignore list
Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Parth Malwankar (parthm)
Changed in bzr:
status: Confirmed → In Progress
assignee: nobody → Parth Malwankar (parthm)
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.2b3
status: In Progress → Fix Released
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.