setup.py: subprocess instead of os.popen, sys.stderr.write instead of print
Also check that .hg is a directory.
% ghost revisions
initializing destination source-hg repository
scanning source...
sorting...
converting...
1 Initial layout setup
0 Commit with ghost revision
o 1 "Commit with ghost revision" files: somefile
|
o 0 "Initial layout setup" files: somefile