In the file "build/version.py" there is a line count of the "inventory"
file to count number of patches and thus determine the version of Yhc.
This makes a tarball created by darcs dist unusable because the _darcs
subdirectory which contains inventory is not in the tarball
What steps will reproduce the problem?
1. Check out the repo (darcs get http://darcs.haskell.org/yhc)
2. Create the distribution tarball (darcs dist)
3. Copy the tarball somewhere else and try to build (scons build)
What is the expected output? What do you see instead?
scons build fails because _darcs/inventory does not exist.
Proposed solution (by Neil):
A simple 'file exists' check before reading the
inventory and a default of 1 (or something) would be fine.
Original issue reported on code.google.com by golubov...@gmail.com on 25 Feb 2008 at 2:10
Original issue reported on code.google.com by
golubov...@gmail.com
on 25 Feb 2008 at 2:10