find revlog entry by the nodeid in the manifest

this removes the ambiguity bug in choosing the "correct" current nodeid if the file has a branching history
update dependency: github.com/knieriem/hgo -> github.com/beyang/hgo
standardize error (fix test)