mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 09:16:14 +01:00
- add path to the broken wc to the error message
This commit is contained in:
parent
e78e4f3151
commit
f9f785ccd8
@ -808,10 +808,10 @@ class Package:
|
||||
|
||||
self.update_datastructs()
|
||||
if wc_check and self.wc_check():
|
||||
msg = 'Your working copy is in an inconsistent state.\n' \
|
||||
msg = 'Your working copy \'%s\' is in an inconsistent state.\n' \
|
||||
'Please run \'osc repairwc\' (Note this might _remove_\n' \
|
||||
'files from the .osc/ dir). Please check the state\n' \
|
||||
'of the working copy afterwards (via \'osc status\')'
|
||||
'of the working copy afterwards (via \'osc status\')' % self.dir
|
||||
raise oscerr.WorkingCopyInconsistent(self.prjname, self.name, msg)
|
||||
|
||||
self.todo = []
|
||||
|
Loading…
Reference in New Issue
Block a user