mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
72febd6068
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
31 lines
386 B
Raku
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
|
|
|
|
|