Don't use node length for calculating revision number length.
Done by moving repo.lookup of revisions from commands.export to patch.export
#!/bin/sh
hg init
echo "Is there an error message when trying to diff non-existing files?"
hg diff not found
echo "Is there an error message when trying to add non-existing files?"
hg add not found