"stg series" on an un-inited branch gives weird error
authorChuck Lever <cel@netapp.com>
Wed, 21 Sep 2005 18:01:43 +0000 (14:01 -0400)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 21 Sep 2005 20:56:38 +0000 (21:56 +0100)
commit40e65b928d0429090a39843c1a81dec31f4d38e2
treeca1e6ac24f26e5d95f65437dd651e9324645a500
parent7c09df84663028d46af9d79d0cbb37532f94deb8
"stg series" on an un-inited branch gives weird error

If I try an "stg series" command on a repository that hasn't yet been
initialized, I get a non-intuitive error message:

stg series: [Errno 2] No such file or directory:
'/home/cel/src/git/main/.git/patches/master/applied'

This patch replaces the message with a reasonable explanation.

Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/stack.py