mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 14:10:42 +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
58 lines
1.3 KiB
Perl
58 lines
1.3 KiB
Perl
Set up without remotenames
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> rebase=
|
|
> tweakdefaults=
|
|
> EOF
|
|
|
|
$ hg init repo
|
|
$ echo a > repo/a
|
|
$ hg -R repo commit -qAm a
|
|
$ hg clone -q repo clone
|
|
$ cd clone
|
|
|
|
Pull --rebase with no local changes
|
|
$ echo b > ../repo/b
|
|
$ hg -R ../repo commit -qAm b
|
|
$ hg pull --rebase -d default
|
|
pulling from $TESTTMP/repo (glob)
|
|
searching for changes
|
|
adding changesets
|
|
adding manifests
|
|
adding file changes
|
|
added 1 changesets with 1 changes to 1 files
|
|
new changesets d2ae7f538514
|
|
(run 'hg update' to get a working copy)
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
nothing to rebase - fast-forwarded to default
|
|
$ hg log -G -T "{rev} {desc}"
|
|
@ 1 b
|
|
|
|
|
o 0 a
|
|
|
|
Make a local commit and check pull --rebase still works.
|
|
$ echo x > x
|
|
$ hg commit -qAm x
|
|
$ echo c > ../repo/c
|
|
$ hg -R ../repo commit -qAm c
|
|
$ hg pull --rebase -d default
|
|
pulling from $TESTTMP/repo (glob)
|
|
searching for changes
|
|
adding changesets
|
|
adding manifests
|
|
adding file changes
|
|
added 1 changesets with 1 changes to 1 files (+1 heads)
|
|
new changesets 177f92b77385
|
|
(run 'hg heads' to see heads, 'hg merge' to merge)
|
|
rebasing 2:* "x" (glob)
|
|
saved backup bundle * (glob)
|
|
$ hg log -G -T "{rev} {desc}"
|
|
@ 3 x
|
|
|
|
|
o 2 c
|
|
|
|
|
o 1 b
|
|
|
|
|
o 0 a
|
|
|