test-phases: test changing null revision phase
The behaviour is correct but for bad reasons: the repo.set() call in
phase command fails for '-1'. It should be rejected explicitely by phase
boundary commands, sadly this is hard to do because phase changes are
not applied atomically.
changelog: ensure that nodecache is valid (
issue3428)
This ensures that an out-of-process hook can see an incoming changegroup.