[PATCH 1 of 6 STABLE] doc: trim newline at the end of exception message

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Sun Jul 31 17:41:01 EDT 2016


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1469999305 -32400
#      Mon Aug 01 06:08:25 2016 +0900
# Branch stable
# Node ID 20b41351782f75045d9afb4e7987e7d697f240f7
# Parent  6fd751fa58d3194830920db0d4b7e1bf0a2c8e24
doc: trim newline at the end of exception message

diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py
--- a/hgext/largefiles/lfutil.py
+++ b/hgext/largefiles/lfutil.py
@@ -89,7 +89,7 @@ def _usercachedir(ui):
             return os.path.join(home, '.cache', longname)
     else:
         raise error.Abort(_('unknown operating system: %s\n') % os.name)
-    raise error.Abort(_('unknown %s usercache location\n') % longname)
+    raise error.Abort(_('unknown %s usercache location') % longname)
 
 def inusercache(ui, hash):
     path = usercachepath(ui, hash)


More information about the Mercurial-devel mailing list