diff mercurial/changegroup.py @ 37339:5859800edfc5

changegroup: remove "revlog" from error message The previous message leaked an implementation detail. Differential Revision: https://phab.mercurial-scm.org/D3041
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 03 Apr 2018 10:15:21 -0700
parents a54113fcc8c9
children aac4be30e250
line wrap: on
line diff
--- a/mercurial/changegroup.py	Tue Apr 03 18:15:24 2018 -0700
+++ b/mercurial/changegroup.py	Tue Apr 03 10:15:21 2018 -0700
@@ -758,7 +758,8 @@
         for i, fname in enumerate(sorted(changedfiles)):
             filerevlog = repo.file(fname)
             if not filerevlog:
-                raise error.Abort(_("empty or missing revlog for %s") % fname)
+                raise error.Abort(_("empty or missing file data for %s") %
+                                  fname)
 
             linkrevnodes = linknodes(filerevlog, fname)
             # Lookup for filenodes, we collected the linkrev nodes above in the