HgAdapter now works when nbdiff is called in any part of the repo tree
fixed mess with repo
make flake8 happy