sapling/eden/scm/tests/test-whereami.t
Muir Manders 1dcb7966fc tests: turn on eagerepo for a bunch of tests
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
2023-04-04 08:42:03 -07:00

41 lines
846 B
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.
# Test whereami
$ eagerepo
$ hg init repo1
$ cd repo1
$ hg whereami
0000000000000000000000000000000000000000
$ echo a > a
$ hg add a
$ hg commit -m a
$ hg whereami
cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b
$ echo b > b
$ hg add b
$ hg commit -m b
$ hg up '.^'
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
$ echo c > c
$ hg add c
$ hg commit -m c
$ hg merge 'desc(b)'
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
$ hg whereami
d36c0562f908c692f5204d606d4ff3537d41f1bf
d2ae7f538514cd87c17547b0de4cea71fe1af9fb