1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-24 23:28:53 +02:00

- print more information if a PackageInternalError exception is caught

This commit is contained in:
Marcus Huewe
2010-09-03 19:59:14 +02:00
parent 57a3832a8e
commit 31f14c7abe
2 changed files with 13 additions and 5 deletions

View File

@@ -1390,7 +1390,7 @@ class Package:
'error: file \'%s\' is known by meta but no storefile exists.\n'
'This might be caused by an old wc format. Please backup your current\n'
'wc and checkout the package again. Afterwards copy all files (except the\n'
'.osc/ dir) into the new package wc. Please file a bug.' % n)
'.osc/ dir) into the new package wc.' % n)
else:
# this case shouldn't happen (except there was a typo in the filename etc.)
raise oscerr.OscIOError(None, 'osc: \'%s\' is not under version control' % n)