eol filter silently ignores unknown settings
Bug #358199 reported by
Brian de Alwis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Brian de Alwis |
Bug Description
It would be nice if the eol functionality warned if a rule is configured with an invalid value.
--- bzrlib/
+++ bzrlib/
@@ -66,5 +66,9 @@
}
def eol_lookup(key):
- return _eol_filter_
+ filter = _eol_filter_
+ if filter == None:
+ from bzrlib.trace import warning
+ warning("WARNING: Unknown eol filter type '%s'" % key)
+ return filter
register_
tags: | added: 1.14 bzr eol |
Changed in bzr: | |
assignee: | nobody → Brian de Alwis (slyguy) |
status: | New → Fix Released |
To post a comment you must log in.
Brian,
Thanks for the bug report and fix. I'd really like to see this land. Can I ask you to package it as patch (complete with a short test confirming the error gets reported on a bad value) and send it to the mailing list?