Mercurial > hg
comparison contrib/churn.py @ 5976:9f1e6ab76069
templates: move filters to their own module
This eliminates just about all Mercurial dependencies in templater.py
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 31 Jan 2008 14:44:19 -0600 |
parents | 75d9fe70c654 |
children | a7817ad608ea |
comparison
equal
deleted
inserted
replaced
5975:75d9fe70c654 | 5976:9f1e6ab76069 |
---|---|
10 # format: | 10 # format: |
11 # | 11 # |
12 # <alias email> <actual email> | 12 # <alias email> <actual email> |
13 | 13 |
14 from mercurial.i18n import gettext as _ | 14 from mercurial.i18n import gettext as _ |
15 from mercurial import hg, mdiff, cmdutil, ui, util, templater, node | 15 from mercurial import hg, mdiff, cmdutil, ui, util, templatefilters, node |
16 import os, sys | 16 import os, sys |
17 | 17 |
18 def get_tty_width(): | 18 def get_tty_width(): |
19 if 'COLUMNS' in os.environ: | 19 if 'COLUMNS' in os.environ: |
20 try: | 20 try: |