mirror of
https://github.com/facebook/sapling.git
synced 2024-12-24 05:21:49 +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;
|
||||
|
||||
pub fn run(_opts: NoOpts, io: &mut IO) -> Result<u8> {
|
||||
io.write(format!(
|
||||
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
|
||||
))?;
|
||||
io.write(format!("EdenSCM {}\n", ::version::VERSION))?;
|
||||
Ok(0)
|
||||
}
|
||||
|
||||
|
@ -82,12 +82,7 @@ issue1829: wrong indentation
|
||||
$ export FAKEPATH
|
||||
$ echo '%include $FAKEPATH/no-such-file' > $HGRC
|
||||
$ hg version
|
||||
Mercurial Distributed SCM (version *) (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.
|
||||
EdenSCM * (glob)
|
||||
$ unset FAKEPATH
|
||||
|
||||
make sure global options given on the cmdline take precedence
|
||||
|
Loading…
Reference in New Issue
Block a user