mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +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
86 lines
1.3 KiB
Perl
86 lines
1.3 KiB
Perl
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> fbamend=
|
|
> inhibit=
|
|
> drawdag=$RUNTESTDIR/drawdag.py
|
|
> [experimental]
|
|
> evolution = createmarkers, allowunstable
|
|
> EOF
|
|
|
|
Create repo
|
|
$ hg init
|
|
$ hg debugdrawdag <<'EOS'
|
|
> E
|
|
> |
|
|
> C D
|
|
> |/
|
|
> B
|
|
> |
|
|
> A
|
|
> EOS
|
|
$ rm .hg/localtags
|
|
|
|
$ hg book -r 2 cat
|
|
$ hg book -r 1 dog
|
|
$ hg update 0
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
|
|
$ hg log -G -T '{rev} {desc} {bookmarks}\n'
|
|
o 4 E
|
|
|
|
|
| o 3 D
|
|
| |
|
|
o | 2 C cat
|
|
|/
|
|
o 1 B dog
|
|
|
|
|
@ 0 A
|
|
|
|
|
|
Hide a single commit
|
|
$ hg hide 3
|
|
1 changesets hidden
|
|
$ hg log -G -T '{rev} {desc} {bookmarks}\n'
|
|
o 4 E
|
|
|
|
|
o 2 C cat
|
|
|
|
|
o 1 B dog
|
|
|
|
|
@ 0 A
|
|
|
|
|
|
Hide multiple commits with bookmarks on them, hide wc parent
|
|
$ hg update 1
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
$ hg hide .
|
|
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
working directory now at 426bada5c675
|
|
3 changesets hidden
|
|
2 bookmarks removed
|
|
$ hg log -G -T '{rev} {desc} {bookmarks}\n'
|
|
@ 0 A
|
|
|
|
|
|
Unhide stuff
|
|
$ hg unhide 2
|
|
$ hg log -G -T '{rev} {desc} {bookmarks}\n'
|
|
o 2 C
|
|
|
|
|
o 1 B
|
|
|
|
|
@ 0 A
|
|
|
|
$ hg unhide -r 4 -r 3
|
|
$ hg log -G -T '{rev} {desc} {bookmarks}\n'
|
|
o 4 E
|
|
|
|
|
| o 3 D
|
|
| |
|
|
o | 2 C
|
|
|/
|
|
o 1 B
|
|
|
|
|
@ 0 A
|
|
|