mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
00ecfbb16c
Summary: A lot of tests are passing with the new test runner. This is done by `./edit-feature-header.py debugruntest` and paste the `Passed:` section from `hg debugruntest -v test-*.t` output. Note: some tests fail with this but pass with debugruntest. They will be investigated as follow-up. Differential Revision: D34931992 fbshipit-source-id: 99abc3d9800bb1dd3487dbfa15d715c0bd3ba878
41 lines
592 B
Perl
41 lines
592 B
Perl
#chg-compatible
|
|
#debugruntest-compatible
|
|
|
|
$ configure modern
|
|
|
|
"import" can revive a commit
|
|
|
|
$ newrepo
|
|
|
|
$ drawdag <<'EOS'
|
|
> B
|
|
> |
|
|
> A
|
|
> EOS
|
|
|
|
$ hg export $B > $TESTTMP/b.patch
|
|
|
|
$ hg hide -q $B
|
|
$ hg log -r 'all()' -T '{desc}\n'
|
|
A
|
|
|
|
$ hg up -q $A
|
|
$ hg import -q --exact $TESTTMP/b.patch
|
|
$ hg log -r 'all()' -T '{desc}\n'
|
|
A
|
|
B
|
|
|
|
"commit" can revive a commit
|
|
|
|
$ newrepo
|
|
|
|
$ hg commit --config ui.allowemptycommit=1 -m A
|
|
|
|
$ hg hide -q .
|
|
$ hg log -r 'all()' -T '{desc}\n'
|
|
|
|
$ hg commit --config ui.allowemptycommit=1 -m A
|
|
$ hg log -r 'all()' -T '{desc}\n'
|
|
A
|
|
|