comparison mercurial/commands.py @ 8760:bf17aeafb869

Spell Mercurial as a proper noun
author timeless <timeless@gmail.com>
date Tue, 09 Jun 2009 09:25:31 -0400
parents 25e9c71b89de
children 0289f384e1e5
comparison
equal deleted inserted replaced
8759:f584d63c49c3 8760:bf17aeafb869
1726 ui.debug(_('message:\n%s\n') % message) 1726 ui.debug(_('message:\n%s\n') % message)
1727 1727
1728 wp = repo.parents() 1728 wp = repo.parents()
1729 if opts.get('exact'): 1729 if opts.get('exact'):
1730 if not nodeid or not p1: 1730 if not nodeid or not p1:
1731 raise util.Abort(_('not a mercurial patch')) 1731 raise util.Abort(_('not a Mercurial patch'))
1732 p1 = repo.lookup(p1) 1732 p1 = repo.lookup(p1)
1733 p2 = repo.lookup(p2 or hex(nullid)) 1733 p2 = repo.lookup(p2 or hex(nullid))
1734 1734
1735 if p1 != wp[0].node(): 1735 if p1 != wp[0].node():
1736 hg.clean(repo, p1) 1736 hg.clean(repo, p1)