Mercurial > hg
comparison mercurial/extensions.py @ 18692:af4387d8d1c7
extensions: remove erroneous comment
We actually -do- use the 'ui' argument to print a debug statement.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Thu, 14 Feb 2013 13:56:02 -0600 |
parents | 013fcd112f13 |
children | 83d79a00cc24 |
comparison
equal
deleted
inserted
replaced
18691:4f485bd68f1d | 18692:af4387d8d1c7 |
---|---|
48 if not exc.filename: | 48 if not exc.filename: |
49 exc.filename = path # python does not fill this | 49 exc.filename = path # python does not fill this |
50 raise | 50 raise |
51 | 51 |
52 def load(ui, name, path): | 52 def load(ui, name, path): |
53 # unused ui argument kept for backwards compatibility | |
54 if name.startswith('hgext.') or name.startswith('hgext/'): | 53 if name.startswith('hgext.') or name.startswith('hgext/'): |
55 shortname = name[6:] | 54 shortname = name[6:] |
56 else: | 55 else: |
57 shortname = name | 56 shortname = name |
58 if shortname in _ignore: | 57 if shortname in _ignore: |