mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
b27a46c987
Summary: This is a big bulk of generally almost-obvious fixes to the moved tests. Mostly these fixes have to do with correct importing of the actual extensions. Depends on D6675329 Test Plan: - ./run-tests.py fails less after this commit - see further commits for more test fixes Reviewers: #sourcecontrol Differential Revision: https://phabricator.intern.facebook.com/D6675344
43 lines
867 B
Perl
43 lines
867 B
Perl
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> fbamend=
|
|
> inhibit=
|
|
> smartlog=
|
|
> [experimental]
|
|
> evolution = createmarkers
|
|
> EOF
|
|
|
|
Test that changesets with visible precursors are rendered as x's, even
|
|
with the inhibit extension enabled.
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ hg debugbuilddag +4
|
|
$ hg book -r 3 test
|
|
$ hg up 1
|
|
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
$ hg amend -m "amended" --no-rebase
|
|
warning: the changeset's children were left behind
|
|
(use 'hg restack' to rebase them)
|
|
$ hg smartlog -T '{rev} {bookmarks}'
|
|
@ 4
|
|
|
|
|
| o 3 test
|
|
| |
|
|
| o 2
|
|
| |
|
|
| x 1 59cf2bc6d22f.preamend
|
|
|/
|
|
o 0
|
|
|
|
$ hg unamend
|
|
$ hg up 2
|
|
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
$ hg smartlog -T '{rev} {bookmarks}'
|
|
o 3 test
|
|
|
|
|
@ 2
|
|
|
|
|
o 1 59cf2bc6d22f.preamend
|
|
|
|
|
~
|