mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
copytrace: add test for git to prevent regression
Summary: add test for testing missing files in destination Reviewed By: quark-zju Differential Revision: D46570174 fbshipit-source-id: b0284b2df34301e90a0c1761f9de6866f69e8a54
This commit is contained in:
parent
84aff19dd7
commit
9e1948bc40
@ -67,3 +67,23 @@ Test missing files in source side
|
||||
$ hg rebase -r $C -d $B
|
||||
rebasing 470d2f079ab1 "C"
|
||||
merging x and y to y
|
||||
|
||||
Test missing files in destination side
|
||||
|
||||
$ hg init --git repo2
|
||||
$ cd repo2
|
||||
$ setupconfig
|
||||
$ drawdag <<'EOS'
|
||||
> C # C/y = 1\n (renamed from x)
|
||||
> | # C/C = (removed)
|
||||
> |
|
||||
> | B # B/x = 1\n2\n
|
||||
> | | # B/B = (removed)
|
||||
> |/
|
||||
> A # A/x = 1\n
|
||||
> # A/A = (removed)
|
||||
> EOS
|
||||
|
||||
$ hg rebase -r $B -d $C
|
||||
rebasing 74b913efe823 "B"
|
||||
merging y and x to y
|
||||
|
Loading…
Reference in New Issue
Block a user