mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
version: print EdenSCM instead of Mercurial
Summary: Per team discussion. Reviewed By: singhsrb Differential Revision: D23719401 fbshipit-source-id: a1e9a1e9a10369c307413354054a65e6520d13e5
This commit is contained in:
parent
ecf88cd4a2
commit
2abf0ada42
@ -10,16 +10,7 @@ use super::Result;
|
|||||||
use super::IO;
|
use super::IO;
|
||||||
|
|
||||||
pub fn run(_opts: NoOpts, io: &mut IO) -> Result<u8> {
|
pub fn run(_opts: NoOpts, io: &mut IO) -> Result<u8> {
|
||||||
io.write(format!(
|
io.write(format!("EdenSCM {}\n", ::version::VERSION))?;
|
||||||
r#"Mercurial Distributed SCM (version {})
|
|
||||||
(see https://mercurial-scm.org for more information)
|
|
||||||
|
|
||||||
Copyright (C) 2005-2017 Matt Mackall and others
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
"#,
|
|
||||||
::version::VERSION
|
|
||||||
))?;
|
|
||||||
Ok(0)
|
Ok(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,12 +82,7 @@ issue1829: wrong indentation
|
|||||||
$ export FAKEPATH
|
$ export FAKEPATH
|
||||||
$ echo '%include $FAKEPATH/no-such-file' > $HGRC
|
$ echo '%include $FAKEPATH/no-such-file' > $HGRC
|
||||||
$ hg version
|
$ hg version
|
||||||
Mercurial Distributed SCM (version *) (glob)
|
EdenSCM * (glob)
|
||||||
(see https://mercurial-scm.org for more information)
|
|
||||||
|
|
||||||
Copyright (C) 2005-* Matt Mackall and others (glob)
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
$ unset FAKEPATH
|
$ unset FAKEPATH
|
||||||
|
|
||||||
make sure global options given on the cmdline take precedence
|
make sure global options given on the cmdline take precedence
|
||||||
|
Loading…
Reference in New Issue
Block a user