--- 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 = []