[PATCH STABLE] fileset: fix copy/paste in eol() error message

Matt Harbison mharbison72 at gmail.com
Fri Feb 19 04:04:59 UTC 2016


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1455852738 18000
#      Thu Feb 18 22:32:18 2016 -0500
# Branch stable
# Node ID 673abb38dec427a0eafd01df992389f61895fe9d
# Parent  8da94662afe51a836eda500652097772c34002e8
fileset: fix copy/paste in eol() error message

diff --git a/mercurial/fileset.py b/mercurial/fileset.py
--- a/mercurial/fileset.py
+++ b/mercurial/fileset.py
@@ -435,8 +435,8 @@
     styles.
     """
 
-    # i18n: "encoding" is a keyword
-    enc = getstring(x, _("encoding requires an encoding name"))
+    # i18n: "eol" is a keyword
+    enc = getstring(x, _("eol requires a style name"))
 
     s = []
     for f in mctx.existing():


More information about the Mercurial-devel mailing list