equal
deleted
inserted
replaced
62 EOF |
62 EOF |
63 emptypath=`pwd`/empty.py |
63 emptypath=`pwd`/empty.py |
64 echo '[extensions]' > $HGRCPATH |
64 echo '[extensions]' > $HGRCPATH |
65 echo "empty = $emptypath" >> $HGRCPATH |
65 echo "empty = $emptypath" >> $HGRCPATH |
66 hg help empty |
66 hg help empty |
|
67 |
|
68 cat > debugextension.py <<EOF |
|
69 '''only debugcommands |
|
70 ''' |
|
71 def debugfoobar(ui, repo, *args, **opts): |
|
72 "yet another debug command" |
|
73 pass |
|
74 |
|
75 cmdtable = {"debugfoobar": (debugfoobar, (), "hg debugfoobar")} |
|
76 EOF |
|
77 debugpath=`pwd`/debugextension.py |
|
78 echo '[extensions]' > $HGRCPATH |
|
79 echo "debugextension = $debugpath" >> $HGRCPATH |
|
80 hg help debugextension |
|
81 hg --debug help debugextension |