comparison mercurial/crecord.py @ 42569:756326d54761

crecord: stop using test-only "X" as alternative for "c" Differential Revision: https://phab.mercurial-scm.org/D6617
author Kyle Lippincott <spectral@google.com>
date Mon, 08 Jul 2019 12:15:37 -0700
parents 80103ed2e8ee
children 75fd9421440b
comparison
equal deleted inserted replaced
42568:f9da9d5f3f5a 42569:756326d54761
1739 elif keypressed in ["q"]: 1739 elif keypressed in ["q"]:
1740 raise error.Abort(_('user quit')) 1740 raise error.Abort(_('user quit'))
1741 elif keypressed in ['a']: 1741 elif keypressed in ['a']:
1742 self.toggleamend(self.opts, test) 1742 self.toggleamend(self.opts, test)
1743 elif keypressed in ["c"]: 1743 elif keypressed in ["c"]:
1744 return True
1745 elif test and keypressed in ['X']:
1746 return True 1744 return True
1747 elif keypressed in ["r"]: 1745 elif keypressed in ["r"]:
1748 if self.reviewcommit(): 1746 if self.reviewcommit():
1749 self.opts['review'] = True 1747 self.opts['review'] = True
1750 return True 1748 return True