mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
cmdlib: be able to parse --myrouter-port argument and ignore it
Summary: also includes a fix for blobimportjob passing an empty argument to blobimport when was not used Reviewed By: farnz Differential Revision: D10298965 fbshipit-source-id: 1e9475c53a7e0b7ea211cc8fbd2c327327b66c65
This commit is contained in:
parent
370c9f9bd9
commit
177bbc024e
@ -89,6 +89,12 @@ impl MononokeApp {
|
||||
.default_value("0")
|
||||
.help("numeric ID of repository")
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("myrouter-port")
|
||||
.long("myrouter-port")
|
||||
.value_name("PORT")
|
||||
.help("port for local myrouter instance")
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("log-style")
|
||||
.short("l")
|
||||
@ -444,7 +450,7 @@ fn open_repo_internal<'a>(
|
||||
blobrepo,
|
||||
&Default::default(),
|
||||
Arc::new(hook_manager),
|
||||
None
|
||||
None,
|
||||
))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user