mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
18c17ec9f1
Summary: A side effect is, the hint won't be printed out if fbamend is not enabled, which is more "correct". Reviewed By: markbt Differential Revision: D7392130 fbshipit-source-id: 5b7aa4cc3083b03546c54965ce51040fab958b87
31 lines
706 B
Perl
31 lines
706 B
Perl
Skip test if remotenames not present
|
|
$ . $TESTDIR/require-ext.sh remotenames
|
|
|
|
Set up extensions (order is important here, we must test tweakdefaults loading last)
|
|
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> rebase=
|
|
> remotenames=
|
|
> tweakdefaults=
|
|
> EOF
|
|
|
|
Run test
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ touch a
|
|
$ hg commit -Aqm a
|
|
$ touch b
|
|
$ hg commit -Aqm b
|
|
$ hg bookmark AB
|
|
$ hg up ".^"
|
|
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
|
(leaving bookmark AB)
|
|
$ touch c
|
|
$ hg commit -Aqm c
|
|
$ hg bookmark C -t AB
|
|
$ hg rebase
|
|
rebasing 2:d5e255ef74f8 "c" (C tip)
|
|
saved backup bundle to $TESTTMP/repo/.hg/strip-backup/d5e255ef74f8-7d2cc323-rebase.hg (glob)
|
|
|
|
|