mirror of
https://github.com/facebook/sapling.git
synced 2024-12-24 13:34:37 +03:00
Manually upgrading eden, and fixing their config
Summary: I think that the broken config (wrong relative base for search_path), was what prevented the upgrade from going automatically. Reviewed By: grievejia Differential Revision: D22966243 fbshipit-source-id: 4ef42a8e2e6f2c79483301c6876509a3009a83d1
This commit is contained in:
parent
ae62478818
commit
246415f23b
@ -5,7 +5,7 @@
|
||||
|
||||
# isort:skip_file
|
||||
|
||||
# pyre-fixme[21]: Could not find `edenscmnative`.
|
||||
from edenscmnative.traceprof import * # noqa: F403, F401
|
||||
|
||||
# pyre-fixme[21]: Could not find module `edenscmnative.traceprof`.
|
||||
from edenscmnative.traceprof import __doc__ # noqa: F401
|
||||
|
@ -128,6 +128,7 @@ class TempFileManager:
|
||||
top_level = self.top_level_tmp_dir()
|
||||
fd, path_str = tempfile.mkstemp(prefix=prefix, dir=str(top_level))
|
||||
file_obj = os.fdopen(fd, mode, encoding="utf-8")
|
||||
# pyre-fixme[6]: Expected `TextIO` for 1st param but got `IO[typing.Any]`.
|
||||
return TemporaryTextFile(file_obj, Path(path_str))
|
||||
|
||||
def make_temp_binary(
|
||||
@ -136,6 +137,7 @@ class TempFileManager:
|
||||
top_level = self.top_level_tmp_dir()
|
||||
fd, path_str = tempfile.mkstemp(prefix=prefix, dir=str(top_level))
|
||||
file_obj = os.fdopen(fd, mode)
|
||||
# pyre-fixme[6]: Expected `BinaryIO` for 1st param but got `IO[typing.Any]`.
|
||||
return TemporaryBinaryFile(file_obj, Path(path_str))
|
||||
|
||||
def top_level_tmp_dir(self) -> Path:
|
||||
|
Loading…
Reference in New Issue
Block a user