Show More
@@ -53,8 +53,7 b' def uisetup(ui):' | |||
|
53 | 53 | |
|
54 | 54 | # The scmutil function is called both by the (trivial) addremove command, |
|
55 | 55 | # and in the process of handling commit -A (issue3542) |
|
56 |
|
|
|
57 | overrides.scmutiladdremove) | |
|
56 | extensions.wrapfunction(scmutil, 'addremove', overrides.scmutiladdremove) | |
|
58 | 57 | extensions.wrapfunction(cmdutil, 'add', overrides.cmdutiladd) |
|
59 | 58 | extensions.wrapfunction(cmdutil, 'remove', overrides.cmdutilremove) |
|
60 | 59 | extensions.wrapfunction(cmdutil, 'forget', overrides.cmdutilforget) |
@@ -64,7 +63,7 b' def uisetup(ui):' | |||
|
64 | 63 | # Subrepos call status function |
|
65 | 64 | entry = extensions.wrapcommand(commands.table, 'status', |
|
66 | 65 | overrides.overridestatus) |
|
67 |
|
|
|
66 | extensions.wrapfunction(subrepo.hgsubrepo, 'status', | |
|
68 | 67 |
|
|
69 | 68 | |
|
70 | 69 | entry = extensions.wrapcommand(commands.table, 'log', |
@@ -111,7 +110,7 b' def uisetup(ui):' | |||
|
111 | 110 | pushopt = [('', 'lfrev', [], |
|
112 | 111 | _('upload largefiles for these revisions'), _('REV'))] |
|
113 | 112 | entry[1].extend(pushopt) |
|
114 |
|
|
|
113 | extensions.wrapfunction(exchange, 'pushoperation', | |
|
115 | 114 |
|
|
116 | 115 | |
|
117 | 116 | entry = extensions.wrapcommand(commands.table, 'clone', |
@@ -119,38 +118,33 b' def uisetup(ui):' | |||
|
119 | 118 | cloneopt = [('', 'all-largefiles', None, |
|
120 | 119 | _('download all versions of all largefiles'))] |
|
121 | 120 | entry[1].extend(cloneopt) |
|
122 |
|
|
|
123 |
|
|
|
121 | extensions.wrapfunction(hg, 'clone', overrides.hgclone) | |
|
122 | extensions.wrapfunction(hg, 'postshare', overrides.hgpostshare) | |
|
124 | 123 | |
|
125 | 124 | entry = extensions.wrapcommand(commands.table, 'cat', |
|
126 | 125 | overrides.overridecat) |
|
127 |
|
|
|
126 | extensions.wrapfunction(merge, '_checkunknownfile', | |
|
128 | 127 |
|
|
129 |
|
|
|
128 | extensions.wrapfunction(merge, 'calculateupdates', | |
|
130 | 129 |
|
|
131 |
|
|
|
130 | extensions.wrapfunction(merge, 'recordupdates', | |
|
132 | 131 |
|
|
133 |
|
|
|
134 | overrides.mergeupdate) | |
|
135 | entry = extensions.wrapfunction(filemerge, '_filemerge', | |
|
132 | extensions.wrapfunction(merge, 'update', overrides.mergeupdate) | |
|
133 | extensions.wrapfunction(filemerge, '_filemerge', | |
|
136 | 134 |
|
|
137 |
|
|
|
138 | overrides.overridecopy) | |
|
135 | extensions.wrapfunction(cmdutil, 'copy', overrides.overridecopy) | |
|
139 | 136 | |
|
140 | 137 | # Summary calls dirty on the subrepos |
|
141 |
|
|
|
142 | overrides.overridedirty) | |
|
138 | extensions.wrapfunction(subrepo.hgsubrepo, 'dirty', overrides.overridedirty) | |
|
143 | 139 | |
|
144 |
|
|
|
145 | overrides.overriderevert) | |
|
140 | extensions.wrapfunction(cmdutil, 'revert', overrides.overriderevert) | |
|
146 | 141 | |
|
147 | 142 | extensions.wrapcommand(commands.table, 'archive', |
|
148 | 143 | overrides.overridearchivecmd) |
|
149 | 144 | extensions.wrapfunction(archival, 'archive', overrides.overridearchive) |
|
150 | 145 | extensions.wrapfunction(subrepo.hgsubrepo, 'archive', |
|
151 | 146 | overrides.hgsubrepoarchive) |
|
152 | extensions.wrapfunction(webcommands, 'archive', | |
|
153 | overrides.hgwebarchive) | |
|
147 | extensions.wrapfunction(webcommands, 'archive', overrides.hgwebarchive) | |
|
154 | 148 | extensions.wrapfunction(cmdutil, 'bailifchanged', |
|
155 | 149 | overrides.overridebailifchanged) |
|
156 | 150 |
General Comments 0
You need to be logged in to leave comments.
Login now