don't change the path bar value if the new path is a prefix of the current path

(0) -10 -1 +1 +10 +30 tip

mercurial