commit | 672cc499b9dce9c18ecd9dfc81fd18094535dc49 | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Wed Nov 27 11:17:13 2013 -0800 |
committer | Jesse Hall <jessehall@google.com> | Tue Dec 03 09:02:16 2013 -0800 |
tree | fabd598df21d7062baec16bf66a1fca505a968f7 | |
parent | 4534120628a8e3a7f82063757bbcb02107dd14d8 [diff] |
Canonicalize project hooks path before use If the top-level .repo directory is moved somewhere else (e.g. a different drive) and replaced with a symlink, _InitHooks() will create broken symlinks. Resolving symlinks before computing the relative path for the symlink keeps the path within the repo tree, so the tree can be moved anywhere. Change-Id: Ifa5c07869e3477186ddd2c255c6c607f547bc1fe