sapling/tests/test-remotenames-schemes.t
Jun Wu 72febd6068 test-remotenames-schemes: rewrite the test
Summary:
The test uses named branches heavily. It seems the test just wants to make
sure remotenames work with the schemes extension. Rewrite it to stop using
named branches.

Reviewed By: singhsrb

Differential Revision: D13978570

fbshipit-source-id: 3d0f284bb2398da0283b3bf5a06d879182a70d84
2019-02-12 19:54:30 -08:00

31 lines
386 B
Raku

$ enable schemes remotenames
$ newrepo a
$ drawdag << 'EOS'
> X
> |
> Z
> EOS
$ hg bookmark -r $X bookmark-X
$ newrepo b
$ drawdag << 'EOS'
> Y
> |
> Z
> EOS
$ hg bookmark -r $Y bookmark-Y
$ newrepo c
$ cat >> .hg/hgrc << EOF
> [schemes]
> dotdot = ../{1}
> EOF
$ hg pull -q dotdot://a
$ hg pull -q dotdot://b
$ hg bookmark --remote