mercurial/util.py
changeset 13910 93452579df9e
parent 13890 31eb145b50b6
child 13916 98ee3dd5bab4
--- a/mercurial/util.py	Thu Apr 07 17:16:17 2011 +0300
+++ b/mercurial/util.py	Thu Apr 07 14:43:19 2011 -0500
@@ -530,7 +530,8 @@
                 if p in lparts[1:]:
                     pos = lparts.index(p)
                     base = os.path.join(*parts[:pos])
-                    raise Abort(_('path %r is inside repo %r') % (path, base))
+                    raise Abort(_('path %r is inside nested repo %r')
+                                % (path, base))
         def check(prefix):
             curpath = os.path.join(self.root, prefix)
             try:
@@ -547,7 +548,7 @@
                 elif (stat.S_ISDIR(st.st_mode) and
                       os.path.isdir(os.path.join(curpath, '.hg'))):
                     if not self.callback or not self.callback(curpath):
-                        raise Abort(_('path %r is inside repo %r') %
+                        raise Abort(_('path %r is inside nested repo %r') %
                                     (path, prefix))
         parts.pop()
         prefixes = []