Bug 985995: fix mercurial paths, symlink; r=rail