commit | bed8b62345e484b27e048e8f21280c5611f795df | [log] [tgz] |
---|---|---|
author | Renaud Paquay <rpaquay@google.com> | Thu Sep 27 10:46:58 2018 -0700 |
committer | Renaud Paquay <rpaquay@google.com> | Mon Oct 22 08:16:35 2018 -0700 |
tree | 4efc8203f0a092428377ebc3e3494f01fdb9b90c | |
parent | b3133a31642ea88f0e4fe9c382411d43278dc9e4 [diff] |
Add support for long paths * Add more file i/o wrappers in platform_utils to allow using long paths (length > MAX_PATH) on Windows. * Paths using the long path syntax ("\\?\" prefix) should never escape the platform_utils API surface area, so that this specific syntax is not visible to the rest of the repo code base. * Forward many calls from os.xxx to platform_utils.xxx in various place to ensure long paths support, specifically when repo decides to delete obsolete directories. * There are more places that need to be converted to support long paths, this commit is an initial effort to unblock a few common use cases. * Also, fix remove function to handle directory symlinks Change-Id: If82ccc408e516e96ff7260be25f8fd2fe3f9571a
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.