mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
8c4a52d608
Summary: This makes tests closer to production setup and removes a bunch of "saved backup bundle to ..." messages. With D9236657, this should not hurt server-side performance. Unfortunately a lot tests cannot be migrated easily, mostly because revision numbers are used. They are left with a TODO. Reviewed By: DurhamG Differential Revision: D9237694 fbshipit-source-id: c993fce18f07aba09f6d70964e248af8d501575a
34 lines
399 B
Perl
34 lines
399 B
Perl
$ cat >> $HGRCPATH << EOF
|
|
> [extensions]
|
|
> absorb=
|
|
> EOF
|
|
|
|
$ hg init
|
|
$ hg debugdrawdag <<'EOS'
|
|
> C
|
|
> |
|
|
> B
|
|
> |
|
|
> A
|
|
> EOS
|
|
|
|
$ hg phase -r A --public -q
|
|
$ hg phase -r C --secret --force -q
|
|
|
|
$ hg update C -q
|
|
$ printf B1 > B
|
|
|
|
$ hg absorb -aq
|
|
|
|
$ hg log -G -T '{desc} {phase}'
|
|
@ C secret
|
|
|
|
|
o B draft
|
|
|
|
|
| x C secret
|
|
| |
|
|
| x B draft
|
|
|/
|
|
o A public
|
|
|