Patchwork D3041: changegroup: remove "revlog" from error message

login
register
mail settings
Submitter phabricator
Date April 4, 2018, 7:06 p.m.
Message ID <b0eb8463cbb2167636edc3c8ca2b1e39@localhost.localdomain>
Download mbox | patch
Permalink /patch/30281/
State Not Applicable
Headers show

Comments

phabricator - April 4, 2018, 7:06 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5859800edfc5: changegroup: remove &quot;revlog&quot; from error message (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3041?vs=7567&id=7640

REVISION DETAIL
  https://phab.mercurial-scm.org/D3041

AFFECTED FILES
  mercurial/changegroup.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -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