author | timeless <timeless@mozdev.org> |
Tue, 20 Sep 2016 23:44:49 +0000 | |
changeset 29967 | bd55d98027ee |
parent 29774 | a7f8939641aa |
child 30332 | 318a24b52eeb |
permissions | -rw-r--r-- |
# extension to emulate interupting filemerge._filemerge from __future__ import absolute_import from mercurial import ( error, extensions, filemerge, ) def failfilemerge(filemergefn, premerge, repo, mynode, orig, fcd, fco, fca, labels=None): raise error.Abort("^C") return filemergefn(premerge, repo, mynode, orig, fcd, fco, fca, labels) def extsetup(ui): extensions.wrapfunction(filemerge, '_filemerge', failfilemerge)