The following patch updated issue issue1951 with status=resolved;resolvedin=2.5.0 CURRENT
* resolve issue1951: refuse to add files outside repository
Ignore-this: 906eca5d6a62c103b3e423967b37570d
Instead of passing on relative paths to hashed-storage if they are not
meaningful relative to the repository root, we now turn all relative paths into
absolute paths. We do that by chdir'ing to them from either the current working
directory, or if that fails, the repository root.
|