mercurial/cmdutil.py
changeset 10829 56fffc9c8928
parent 10819 36c6a667d733
child 10962 8d5f5122a732
equal deleted inserted replaced
10828:1aa9464ce9ae 10829:56fffc9c8928
   942 
   942 
   943         except KeyError, inst:
   943         except KeyError, inst:
   944             msg = _("%s: no key named '%s'")
   944             msg = _("%s: no key named '%s'")
   945             raise util.Abort(msg % (self.t.mapfile, inst.args[0]))
   945             raise util.Abort(msg % (self.t.mapfile, inst.args[0]))
   946         except SyntaxError, inst:
   946         except SyntaxError, inst:
   947             raise util.Abort(_('%s: %s') % (self.t.mapfile, inst.args[0]))
   947             raise util.Abort('%s: %s' % (self.t.mapfile, inst.args[0]))
   948 
   948 
   949 def show_changeset(ui, repo, opts, buffered=False, matchfn=False):
   949 def show_changeset(ui, repo, opts, buffered=False, matchfn=False):
   950     """show one changeset using template or regular display.
   950     """show one changeset using template or regular display.
   951 
   951 
   952     Display format will be the first non-empty hit of:
   952     Display format will be the first non-empty hit of: