Mercurial > hg
comparison hgext/largefiles/uisetup.py @ 15349:63455eb771af stable
largefiles: drop more unnecessary compatibility checks
author | Greg Ward <greg@gerg.ca> |
---|---|
date | Sun, 23 Oct 2011 10:23:31 -0400 |
parents | bd9405551ad4 |
children | 6d6b1b9aeea6 |
comparison
equal
deleted
inserted
replaced
15348:c681e478c429 | 15349:63455eb771af |
---|---|
80 extensions.wrapfunction(hg, '_update', overrides.hg_update) | 80 extensions.wrapfunction(hg, '_update', overrides.hg_update) |
81 extensions.wrapfunction(hg, 'clean', overrides.hg_clean) | 81 extensions.wrapfunction(hg, 'clean', overrides.hg_clean) |
82 extensions.wrapfunction(hg, 'merge', overrides.hg_merge) | 82 extensions.wrapfunction(hg, 'merge', overrides.hg_merge) |
83 | 83 |
84 extensions.wrapfunction(archival, 'archive', overrides.override_archive) | 84 extensions.wrapfunction(archival, 'archive', overrides.override_archive) |
85 if util.safehasattr(cmdutil, 'bailifchanged'): | 85 extensions.wrapfunction(cmdutil, 'bailifchanged', |
86 extensions.wrapfunction(cmdutil, 'bailifchanged', | 86 overrides.override_bailifchanged) |
87 overrides.override_bailifchanged) | |
88 else: | |
89 extensions.wrapfunction(cmdutil, 'bail_if_changed', | |
90 overrides.override_bailifchanged) | |
91 | 87 |
92 # create the new wireproto commands ... | 88 # create the new wireproto commands ... |
93 wireproto.commands['putlfile'] = (proto.putlfile, 'sha') | 89 wireproto.commands['putlfile'] = (proto.putlfile, 'sha') |
94 wireproto.commands['getlfile'] = (proto.getlfile, 'sha') | 90 wireproto.commands['getlfile'] = (proto.getlfile, 'sha') |
95 wireproto.commands['statlfile'] = (proto.statlfile, 'sha') | 91 wireproto.commands['statlfile'] = (proto.statlfile, 'sha') |