Don't check out files if we don't have index+workdir
authorKarl Hasselström <kha@treskal.com>
Sun, 10 Feb 2008 14:43:41 +0000 (15:43 +0100)
committerKarl Hasselström <kha@treskal.com>
Sun, 10 Feb 2008 14:46:36 +0000 (15:46 +0100)
commit24d417c440e0209ebd058af586e5fbfe5341f2bf
treee9662c3917f1e3c2072abc5ac34c8b8aa8d746d6
parenta639e7bbf3a6396254af76062ee88c22e4373340
Don't check out files if we don't have index+workdir

It seems no one had tried to run a transaction without having an index
and a workdir, but this is exacly the situation we get when operating
on a stack other than the current one.

The fix is simple: don't try to check out.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/lib/transaction.py