[PATCH] Ensure that absolutized paths from hgrc do not contain ../ segments

Jesse Glick jesse.glick at sun.com
Sat Jan 26 15:32:25 CST 2008


David Champion wrote:
>> Works on Ubuntu, perhaps because /bin/sh is really /bin/sh, not 
>> /bin/bash. I will resubmit with ',' as the separator which seems
>> OK.
> 
> No, bash suppresses its interactive aspects (history) when running as
> a script interpreter.

Interesting. Well, someone already changed the test to just check that 
there is no "../" segment in the output. This is less precise than my 
original patch (does not check that the normalization is actually 
correct), but I'll leave it alone.



More information about the Mercurial-devel mailing list