Comment 1 for bug 530010

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 530010] [NEW] error when no repository present could be nicer

 status triaged
 importance wishlist

I agree that the error can be made nicer. My decision to show the
'message' from errors only means its not /all that/ opaque, so I'm not
in a panic to fix it. If you wanted to that would be fine.

In terms of how to fix it, I'm a bit hesitant about prompting the user
to make one; there could be other things wrong: lets focus on clear
diagnostics:

"No repository found in '/home/jelmer/lp': [Errno 2] No such file or
directory: '/home/jelmer/lp/.testrepository/format'"

The help and tutorials all point out how to make a new repository very
early on.

Cheers,
Rob