mirror of
https://github.com/facebook/sapling.git
synced 2024-12-31 00:53:47 +03:00
entrypoint: introduce buck-buildable hg.rust
Reviewed By: farnz Differential Revision: D15844921 fbshipit-source-id: 16ef18915b82344a553fec92af9ec9fc445e3ccb
This commit is contained in:
parent
8925b1dcb8
commit
36f4698c5a
@ -188,7 +188,10 @@ class FindExeClass(object):
|
||||
|
||||
start_path = os.path.abspath(sys.argv[0])
|
||||
hg_real_bin = pathutils.get_build_rule_output_path(
|
||||
"//scm/hg:hg", pathutils.BuildRuleTypes.PYTHON_BINARY, start_path=start_path
|
||||
"//scm/hg:hg",
|
||||
pathutils.BuildRuleTypes.GENRULE,
|
||||
start_path=start_path,
|
||||
output_name="hg/hg",
|
||||
)
|
||||
if hg_real_bin:
|
||||
return hg_real_bin
|
||||
|
Loading…
Reference in New Issue
Block a user