comparison hgext/obsolete.py @ 434:9863e196cc65

obsolete: more BC drop
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 07 Aug 2012 14:33:24 +0200
parents aa1255c2ac8f
children 97d82fbd2c24
comparison
equal deleted inserted replaced
433:aa1255c2ac8f 434:9863e196cc65
789 return 789 return
790 790
791 opush = repo.push 791 opush = repo.push
792 o_updatebranchcache = repo.updatebranchcache 792 o_updatebranchcache = repo.updatebranchcache
793 793
794 # /!\ api change in Hg 2.2 (97efd26eb9576f39590812ea9) /!\
795 if util.safehasattr(repo, '_journalfiles'): # Hg 2.2
796 o_journalfiles = repo._journalfiles
797 o_writejournal = repo._writejournal 794 o_writejournal = repo._writejournal
798 o_hook = repo.hook 795 o_hook = repo.hook
799 796
800 797
801 class obsoletingrepo(repo.__class__): 798 class obsoletingrepo(repo.__class__):