~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/filters/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 12:19:29 UTC
  • mfrom: (6437.23.11 2.5)
  • mto: (6581.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6582.
  • Revision ID: jelmer@samba.org-20120220121929-7ni2psvjoatm1yp4
Merge bzr/2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
 
18
17
"""Working tree content filtering support.
19
18
 
20
19
A filter consists of a read converter, write converter pair.
39
38
Note that context is currently only supported for write converters.
40
39
"""
41
40
 
 
41
from __future__ import absolute_import
 
42
 
42
43
from cStringIO import StringIO
43
44
from bzrlib.lazy_import import lazy_import
44
45
lazy_import(globals(), """
282
283
    return original
283
284
 
284
285
 
285
 
# Register the standard filters
286
 
from bzrlib.filters import eol
287
 
eol.register_eol_content_filter()
 
286
lazy_register_filter_stack_map('eol', 'bzrlib.filters.eol', 'eol_lookup')