changeset 5666:9d6ad26fab10

fix spelling error
author Matt Mackall <mpm@selenic.com>
date Tue, 18 Dec 2007 15:40:46 -0600
parents 495a9dc86fc2
children 4f977c6d3c03 479847ccabe0
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Dec 18 15:17:11 2007 -0600
+++ b/mercurial/localrepo.py	Tue Dec 18 15:40:46 2007 -0600
@@ -1737,7 +1737,7 @@
             for fname in changedfiles:
                 filerevlog = self.file(fname)
                 if filerevlog.count() == 0:
-                    raise util.abort(_("empty or missing revlog for %s") % fname)
+                    raise util.Abort(_("empty or missing revlog for %s") % fname)
                 # Toss out the filenodes that the recipient isn't really
                 # missing.
                 if msng_filenode_set.has_key(fname):
@@ -1823,7 +1823,7 @@
             for fname in changedfiles:
                 filerevlog = self.file(fname)
                 if filerevlog.count() == 0:
-                    raise util.abort(_("empty or missing revlog for %s") % fname)
+                    raise util.Abort(_("empty or missing revlog for %s") % fname)
                 nodeiter = gennodelst(filerevlog)
                 nodeiter = list(nodeiter)
                 if nodeiter: