mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 19:57:18 +03:00
6317ba0ca2
Summary: The functionality we care about is provided by the `fbamend` extension. Therefore, lets replace the `amend` extension with the `fbamend` extension. Reviewed By: farnz Differential Revision: D10320739 fbshipit-source-id: 5700d39f488777fcc4033f60ce0a51cda15ef2ad
24 lines
405 B
Raku
24 lines
405 B
Raku
$ enable amend directaccess obsstore
|
|
$ newrepo
|
|
$ drawdag <<'EOS'
|
|
> C E
|
|
> | |
|
|
> B D
|
|
> |/
|
|
> A
|
|
> EOS
|
|
|
|
$ hg hide -q $B+$D
|
|
|
|
Both string and symbol are processed
|
|
|
|
$ hg metaedit --fold "'$B'+$C" -m foo
|
|
Warning: accessing hidden changesets 112478962961,26805aba1e60 for write operation
|
|
2 changesets folded
|
|
|
|
"Or" function is handled
|
|
|
|
$ hg log -r "$D+'$E'+merge()" -T '{desc}\n'
|
|
D
|
|
E
|