Show More
@@ -1395,6 +1395,8 b' def help_(ui, name=None, with_version=Fa' | |||||
1395 | try: |
|
1395 | try: | |
1396 | ct = mod.cmdtable |
|
1396 | ct = mod.cmdtable | |
1397 | except AttributeError: |
|
1397 | except AttributeError: | |
|
1398 | ct = None | |||
|
1399 | if not ct: | |||
1398 | ui.status(_('no commands defined\n')) |
|
1400 | ui.status(_('no commands defined\n')) | |
1399 | return |
|
1401 | return | |
1400 |
|
1402 |
@@ -53,3 +53,14 b" echo '[extensions]' > $HGRCPATH" | |||||
53 | echo "barfoo = $barfoopath" >> $HGRCPATH |
|
53 | echo "barfoo = $barfoopath" >> $HGRCPATH | |
54 | cd a |
|
54 | cd a | |
55 | hg foo |
|
55 | hg foo | |
|
56 | ||||
|
57 | cd .. | |||
|
58 | cat > empty.py <<EOF | |||
|
59 | '''empty cmdtable | |||
|
60 | ''' | |||
|
61 | cmdtable = {} | |||
|
62 | EOF | |||
|
63 | emptypath=`pwd`/empty.py | |||
|
64 | echo '[extensions]' > $HGRCPATH | |||
|
65 | echo "empty = $emptypath" >> $HGRCPATH | |||
|
66 | hg help empty |
General Comments 0
You need to be logged in to leave comments.
Login now