--- a/mercurial/scmutil.py Mon Nov 07 02:44:04 2011 +0100
+++ b/mercurial/scmutil.py Mon Nov 07 02:49:00 2011 +0100
@@ -98,7 +98,7 @@
if p in lparts[1:]:
pos = lparts.index(p)
base = os.path.join(*parts[:pos])
- raise util.Abort(_('path %r is inside nested repo %r')
+ raise util.Abort(_("path '%s' is inside nested repo %r")
% (path, base))
parts.pop()
@@ -123,7 +123,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 util.Abort(_('path %r is inside nested repo %r') %
+ raise util.Abort(_("path '%s' is inside nested repo %r") %
(path, prefix))
prefixes.append(prefix)
parts.pop()