equal
deleted
inserted
replaced
1733 self.showpatch(ctx, matchfn) |
1733 self.showpatch(ctx, matchfn) |
1734 |
1734 |
1735 def _exthook(self, ctx): |
1735 def _exthook(self, ctx): |
1736 '''empty method used by extension as a hook point |
1736 '''empty method used by extension as a hook point |
1737 ''' |
1737 ''' |
1738 pass |
|
1739 |
1738 |
1740 def showpatch(self, ctx, matchfn): |
1739 def showpatch(self, ctx, matchfn): |
1741 if not matchfn: |
1740 if not matchfn: |
1742 matchfn = self.matchfn |
1741 matchfn = self.matchfn |
1743 if matchfn: |
1742 if matchfn: |
3630 raise error.Abort("subrepository '%s' does not exist in %s!" |
3629 raise error.Abort("subrepository '%s' does not exist in %s!" |
3631 % (sub, short(ctx.node()))) |
3630 % (sub, short(ctx.node()))) |
3632 |
3631 |
3633 def _revertprefetch(repo, ctx, *files): |
3632 def _revertprefetch(repo, ctx, *files): |
3634 """Let extension changing the storage layer prefetch content""" |
3633 """Let extension changing the storage layer prefetch content""" |
3635 pass |
|
3636 |
3634 |
3637 def _performrevert(repo, parents, ctx, actions, interactive=False, |
3635 def _performrevert(repo, parents, ctx, actions, interactive=False, |
3638 tobackup=None): |
3636 tobackup=None): |
3639 """function that actually perform all the actions computed for revert |
3637 """function that actually perform all the actions computed for revert |
3640 |
3638 |