* fix: more informative error msg
This commit is contained in:
+2
-2
@@ -290,9 +290,9 @@ def get_file_hashes(top, excludePrefix=None, removePrefix=None):
|
|||||||
return func(f)
|
return func(f)
|
||||||
except FileError, e:
|
except FileError, e:
|
||||||
if os.path.islink(f):
|
if os.path.islink(f):
|
||||||
ctx.ui.warning(_('Ignoring "external" link %s') % f)
|
ctx.ui.info(_("Including external link '%s'") % f)
|
||||||
elif os.path.isdir(f):
|
elif os.path.isdir(f):
|
||||||
ctx.ui.warning(_('Ignoring directory %s') % f)
|
ctx.ui.info(_("Including directory '%s'") % f)
|
||||||
else:
|
else:
|
||||||
raise e
|
raise e
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user