mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
1dcb7966fc
Summary: These are the tests that passed after adding "$ eagerepo". I attempted to turn on eagerepo for all tests that didn't contain "$ eagerepo" or "configure modern". Reviewed By: quark-zju Differential Revision: D44445379 fbshipit-source-id: b283be6d5249f74e11a3205622961e457587e93b
46 lines
1.2 KiB
Perl
46 lines
1.2 KiB
Perl
#debugruntest-compatible
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2.
|
|
|
|
# Set up extension
|
|
|
|
$ eagerepo
|
|
$ cat >> $HGRCPATH << 'EOF'
|
|
> [extensions]
|
|
> debugcommitmessage=
|
|
> EOF
|
|
|
|
# Set up repo
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
|
|
# Test extension
|
|
|
|
$ hg debugcommitmessage
|
|
|
|
|
|
HG: Enter commit message. Lines beginning with 'HG:' are removed.
|
|
HG: Leave message empty to abort commit.
|
|
HG: --
|
|
HG: user: test
|
|
HG: branch 'default'
|
|
HG: no files changed
|
|
$ hg debugcommitmessage --config 'committemplate.changeset.commit.normal.normal=Test Specific Message\n'
|
|
Test Specific Message
|
|
$ hg debugcommitmessage --config 'committemplate.changeset.commit=Test Generic Message\n'
|
|
Test Generic Message
|
|
$ hg debugcommitmessage commit.amend.normal --config 'committemplate.changeset.commit=Test Generic Message\n'
|
|
Test Generic Message
|
|
$ hg debugcommitmessage randomform --config 'committemplate.changeset.commit=Test Generic Message\n'
|
|
|
|
|
|
HG: Enter commit message. Lines beginning with 'HG:' are removed.
|
|
HG: Leave message empty to abort commit.
|
|
HG: --
|
|
HG: user: test
|
|
HG: branch 'default'
|
|
HG: no files changed
|