keyword expansion collapses non-keywords
Bug #505038 reported by
Matthew Fuller
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Keywords Plugin |
Fix Committed
|
High
|
Andrew Johnson |
Bug Description
When expansion is enabled, non-keywords are in danger of getting collapsed.
This is visible several places in the bzr source, for instance. To reproduce, add a rules file like
[name *.txt]
keywords = on
and then cd bzr.dev ; rm doc/en/
Related branches
lp://staging/~anj/bzr-keywords/fix-505038
- Jelmer Vernooij (community): Approve (code)
- Ian Clatworthy: Pending requested
-
Diff: 72 lines (+14/-6)2 files modified__init__.py (+12/-5)
tests/test_conversion.py (+2/-1)
Changed in bzr-keywords: | |
assignee: | nobody → Andrew Johnson (anj) |
To post a comment you must log in.
I have a test case:
file "test.php" contains :
// Simplest case that breaks things:
$a-b::c
$d
// Why we'd do this: SearchResults: :NumPages( )." more pages of results";
echo "There are ".$thispage-
$nextpage = $thispage + 1;
[tom@turmeric test]$ bzr ci test.php
then becomes
[tom@turmeric test]$ bzr cat test.php
// Simplest case that breaks things:
$a-b$d
// Why we'd do this: SearchResults$ nextpage = $thispage + 1;
echo "There are ".$thispage-
Using latest bzr-keywords as produced with `bzr co lp:bzr-keywords`