haskell/cabal — pull request #1395 by trofi (2013-07-21 22:11:41+00:00)
Title: Distribution/Client/Tar.hs: make clearer error message when tar fails to...

... unpack source

Patch improves error reporting to give a clue what broke
when unpacking:
$ dist/build/cabal/cabal unpack hackport
Unpacking to hackport-0.3.2/
cabal: File in tar archive is not in the expected directory "hackport-0.3.2"
but got the following hierarchy: [".",".","@LongLink"]

Signed-off-by: Sergei Trofimovich