Return the relative location in the client where this depot file should live. Returns "" if the file should not be mapped in the client.
(self, depot_path)
| 2875 | self.client_spec_path_cache[depotFile] = b'' |
| 2876 | |
| 2877 | def map_in_client(self, depot_path): |
| 2878 | """Return the relative location in the client where this depot file |
| 2879 | should live. |
| 2880 | |
| 2881 | Returns "" if the file should not be mapped in the client. |
| 2882 | """ |
| 2883 | |
| 2884 | if gitConfigBool("core.ignorecase"): |
| 2885 | depot_path = depot_path.lower() |
| 2886 | |
| 2887 | if depot_path in self.client_spec_path_cache: |
| 2888 | return self.client_spec_path_cache[depot_path] |
| 2889 | |
| 2890 | die("Error: %s is not found in client spec path" % depot_path) |
| 2891 | return "" |
| 2892 | |
| 2893 | |
| 2894 | def cloneExcludeCallback(option, opt_str, value, parser): |
no test coverage detected