First, I've implemented a demand loading hack to replace the import trickery I was doing. This fixes the urllib module exceptions. Second, I've made the transaction code do the right thing with dirstate if it doesn't exist. This fixes merging into an empty repo. -- Mathematics is the supreme nostalgia of our time.