2019-07-30 05:30:30 +03:00
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
#
|
|
|
|
# This software may be used and distributed according to the terms of the
|
|
|
|
# GNU General Public License version 2 or any later version.
|
|
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
|
|
|
from testutil.dott import feature, sh, testtmp # noqa: F401
|
|
|
|
|
|
|
|
|
|
|
|
sh % "newrepo"
|
2019-07-30 05:30:30 +03:00
|
|
|
sh % "hg d" == ""
|
|
|
|
|
2019-08-20 05:24:40 +03:00
|
|
|
sh % "hg di --config alias.did=root" == r"""
|
|
|
|
hg: command 'di' is ambiguous:
|
2019-08-29 05:22:46 +03:00
|
|
|
did
|
|
|
|
diff
|
2019-07-30 05:30:30 +03:00
|
|
|
[255]"""
|
|
|
|
|
|
|
|
sh % "hg debugf" == r"""
|
|
|
|
hg: command 'debugf' is ambiguous:
|
2019-07-30 05:30:30 +03:00
|
|
|
debugfilerevision
|
|
|
|
debugfileset
|
|
|
|
debugformat
|
|
|
|
debugfsinfo
|
|
|
|
[255]"""
|