[RFC, MAYBE-MERGE] DEFAULT_IGNORE as an API (Re: Problem with bzr without default ignore list.)
Martin Pool
mbp at canonical.com
Tue Jul 18 07:15:32 BST 2006
On 12 Jul 2006, Adeodato Sim <dato at net.com.org.es> wrote:
> > How about adding an extra_ignores list which plugins can modify? Or
> > perhaps rather than being a global variable it should be just a
> > parameter to add and status?
>
> A new list would work fine, of course, though existing code that works
> against 0.8 will not against 0.9, and if new code wants to care about
> 0.8, it'll have to try whether bzrlib.EXTRA_IGNORE (or whatever) exists
> or not. I realize per your comment above that DEFAULT_IGNORE was not
> intended as an API, but well, it's been a de facto one.
It would be better for the callers to just look at bzrlib.version_info.
--
Martin
More information about the bazaar
mailing list