trailing whitespace in .bzrignore is not ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
.bzrignore file appears not to be honoured.
To demonstrate -
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\>mkdir bzr
H:\>cd bzr
H:\bzr>bzr --version
Bazaar (bzr) 1.0.0.candidate.1
Python interpreter: C:\Added Program Files\Bazaar\
Python standard library: C:\Added Program Files\Bazaar\
bzrlib: C:\Added Program Files\Bazaar\
Bazaar configuration: C:\Documents and Settings\
Bazaar log file: C:\Documents and Settings\David\My Documents\.bzr.log
Copyright 2005, 2006, 2007 Canonical Ltd.
http://
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.
H:\bzr>bzr init
H:\bzr>echo *.txt > .bzrignore
H:\bzr>echo content > filename.txt
H:\bzr>bzr status
unknown:
.bzrignore
filename.txt
H:\bzr>bzr ignored
H:\bzr>bzr add
added .bzrignore
added filename.txt
H:\bzr>bzr commit -m"this file should have been ignored"
Committing revision 1 to "H:/bzr/".
added .bzrignore
added filename.txt
Committed revision 1.
H:\bzr>bzr log
-------
revno: 1
committer: David Roberts <email address hidden>
branch nick: bzr
timestamp: Fri 2007-12-07 08:24:24 +0000
message:
this file should have been ignored
H:\bzr>type .bzrignore
*.txt
======
I expected "*.txt" in .bzrignore to be a match for a file
named "filename.txt", and thus for that file not to be
versioned or committed.
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: ignore |
tags: | added: check-for-breezy |
I can't reproduce this on Debian, running bzr.dev r3042.