--- a/mercurial/cmdutil.py Fri Nov 25 09:09:03 2016 +0100
+++ b/mercurial/cmdutil.py Fri Nov 25 09:09:31 2016 +0100
@@ -3171,7 +3171,7 @@
for f in actions['forget'][0]:
if interactive:
choice = repo.ui.promptchoice(
- _("forget added file %s (yn)?$$ &Yes $$ &No") % f)
+ _("forget added file %s (Yn)?$$ &Yes $$ &No") % f)
if choice == 0:
repo.dirstate.drop(f)
else:
--- a/tests/test-revert-interactive.t Fri Nov 25 09:09:03 2016 +0100
+++ b/tests/test-revert-interactive.t Fri Nov 25 09:09:31 2016 +0100
@@ -424,14 +424,14 @@
> n
> EOF
forgetting newfile
- forget added file newfile (yn)? n
+ forget added file newfile (Yn)? n
$ hg status
A newfile
$ hg revert -i <<EOF
> y
> EOF
forgetting newfile
- forget added file newfile (yn)? y
+ forget added file newfile (Yn)? y
$ hg status
? newfile