From f9f785ccd88773216112b4d9eb9c14211402da57 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Tue, 14 Sep 2010 13:12:32 +0200 Subject: [PATCH] - add path to the broken wc to the error message --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index efa36763..375110c4 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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 = []