hgkw/keyword.py
changeset 221 2990d6aa10ff
parent 217 e55e3f6c6608
child 222 f956a8301c25
--- a/hgkw/keyword.py	Mon Jul 30 13:42:02 2007 +0100
+++ b/hgkw/keyword.py	Thu Aug 09 09:49:38 2007 +0200
@@ -331,7 +331,6 @@
     tmpdir = tempfile.mkdtemp('', 'kwdemo.')
     ui.note(_('creating temporary repo at %s\n') % tmpdir)
     repo = localrepo.localrepository(ui, path=tmpdir, create=True)
-    repo.ui = ui # backwards compatibility
     ui.setconfig('keyword', fn, '')
     if args or opts['rcfile']:
         kwstatus = 'custom'
@@ -398,9 +397,6 @@
                     'grep', 'identify', 'incoming', 'init', 'outgoing', 'push',
                     'remove', 'rename', 'rollback']
 
-    # for backwards compatibility
-    ui = repo.ui
-
     def _getcmd():
         # cmdutil.parse(ui, sys.argv[1:])[0] doesn't work for "hg diff -r"
         args = fancyopts.fancyopts(sys.argv[1:], commands.globalopts, {})