Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/hgext/largefiles/uisetup.py Sun Oct 23 16:32:27 2011 -0500 +++ b/hgext/largefiles/uisetup.py Sun Oct 23 10:23:31 2011 -0400 @@ -82,12 +82,8 @@ extensions.wrapfunction(hg, 'merge', overrides.hg_merge) extensions.wrapfunction(archival, 'archive', overrides.override_archive) - if util.safehasattr(cmdutil, 'bailifchanged'): - extensions.wrapfunction(cmdutil, 'bailifchanged', - overrides.override_bailifchanged) - else: - extensions.wrapfunction(cmdutil, 'bail_if_changed', - overrides.override_bailifchanged) + extensions.wrapfunction(cmdutil, 'bailifchanged', + overrides.override_bailifchanged) # create the new wireproto commands ... wireproto.commands['putlfile'] = (proto.putlfile, 'sha')