sapling/tests/test-fb-hgext-smartlog-inhibit.t
Kostia Balytskyi b27a46c987 fb-hgext: fix copied fb-hgext tests
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
2018-01-09 03:06:09 -08:00

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
|
~