Mercurial > hg
comparison hgext/record.py @ 9710:1765599f4899
record: use uisetup instead of extsetup to register qrecord
New commands should be registered in uisetup so that other extensions
have a change of wrapping them in extsetup.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 05 Nov 2009 01:10:43 +0100 |
parents | dd5a16ad420e |
children | b13474cd1496 |
comparison
equal
deleted
inserted
replaced
9709:5858117a0077 | 9710:1765599f4899 |
---|---|
529 | 529 |
530 _('hg record [OPTION]... [FILE]...')), | 530 _('hg record [OPTION]... [FILE]...')), |
531 } | 531 } |
532 | 532 |
533 | 533 |
534 def extsetup(): | 534 def uisetup(ui): |
535 try: | 535 try: |
536 mq = extensions.find('mq') | 536 mq = extensions.find('mq') |
537 except KeyError: | 537 except KeyError: |
538 return | 538 return |
539 | 539 |