changeset 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 cbc4425e81b5
children 8cf97e0e1730
files mercurial/changegroup.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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