D3041: changegroup: remove "revlog" from error message

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Apr 4 15:06:49 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5859800edfc5: changegroup: remove "revlog" 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

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



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


More information about the Mercurial-devel mailing list