from stgit.commands.common import *
from stgit import stack, git
from stgit.out import *
+from stgit.run import Run
help = 'display the patch changelog'
usage = """%prog [options] [patch]
raise CmdException, 'No changelog for patch "%s"' % name
if options.graphical:
- if os.system('gitk %s' % log) != 0:
- raise CmdException, 'gitk execution failed'
+ # discard the exit codes generated by SIGINT, SIGKILL, SIGTERM
+ Run('gitk', log).returns([0, -2, -9, -15]).run()
else:
show_log(log, options)