[MERGE] no default ignores

Denys Duchier duchier at ps.uni-sb.de
Tue Jun 13 19:52:22 BST 2006


John Arbash Meinel <john at arbash-meinel.com> writes:

> I think a better way would be to use an internal function. Though it
> looks like 'bzr ignore' just writes the file itself. That really should
> be factored out.

Would it not be nice if commands could be made (safely) available through the
bzrlib library?  The way I would be inclined to do it would be to add a
"context" parameter to a command's __init__, and to use it in particular to
replace the many hardcoded occurrences of u'.' (e.g. by self.context.root).

Is this a good/bad idea?  what else would need careful handling?

--Denys





More information about the bazaar mailing list