Mercurial > evolve
diff tests/test-split.t @ 6072:5c921c26dc40 mercurial-4.9
test-compat: merge mercurial-5.0 into mercurial-4.9
# no-check-commit
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 12 Oct 2021 13:29:56 +0300 |
parents | d161fccccd80 e82ad19eb3cc |
children | 6b67f26f4667 2cd36fe3f4e6 |
line wrap: on
line diff
--- a/tests/test-split.t Tue Oct 12 13:05:23 2021 +0300 +++ b/tests/test-split.t Tue Oct 12 13:29:56 2021 +0300 @@ -766,18 +766,9 @@ (remaining changes gathered with unmatched one) -adding content in files to make sure that it prompt us to select the changes, -as it won't prompt if a file has no changes at hunk level and passed in cli -(for more look into hg db72f9f6580e which made it to not prompt "examine changes to fileX" -for files which are explicitly mentioned by user) - $ echo sp2 > SPLIT2 - $ echo sp3 > SPLIT3 - $ echo sp4 > SPLIT4 - $ hg amend - $ hg split SPLIT2 SPLIT3 << EOF > y - > s + > n > c > EOF 0 files updated, 0 files merged, 3 files removed, 0 files unresolved @@ -786,18 +777,13 @@ adding SPLIT4 diff --git a/SPLIT2 b/SPLIT2 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp2 - record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y + examine changes to 'SPLIT2'? [Ynesfdaq?] y diff --git a/SPLIT3 b/SPLIT3 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp3 - record change 2/2 to 'SPLIT3'? [Ynesfdaq?] s + examine changes to 'SPLIT3'? [Ynesfdaq?] n continue splitting? [Ycdq?] c - $ hg status --change '.~1' A SPLIT2 $ hg status --change '.' @@ -811,7 +797,7 @@ $ hg split SPLIT2 SPLIT3 << EOF > y - > s + > n > y > y > EOF @@ -821,25 +807,18 @@ adding SPLIT4 diff --git a/SPLIT2 b/SPLIT2 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp2 - record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y + examine changes to 'SPLIT2'? [Ynesfdaq?] y diff --git a/SPLIT3 b/SPLIT3 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp3 - record change 2/2 to 'SPLIT3'? [Ynesfdaq?] s + examine changes to 'SPLIT3'? [Ynesfdaq?] n continue splitting? [Ycdq?] y diff --git a/SPLIT3 b/SPLIT3 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp3 - record this change to 'SPLIT3'? [Ynesfdaq?] y + examine changes to 'SPLIT3'? [Ynesfdaq?] y no more changes to split - $ hg status --change '.~2' A SPLIT2 $ hg status --change '.~1' @@ -862,15 +841,11 @@ adding SPLIT4 diff --git a/SPLIT2 b/SPLIT2 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp2 - record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y + examine changes to 'SPLIT2'? [Ynesfdaq?] y diff --git a/SPLIT3 b/SPLIT3 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp3 - record change 2/2 to 'SPLIT3'? [Ynesfdaq?] y + examine changes to 'SPLIT3'? [Ynesfdaq?] y no more changes to split $ hg status --change '.~1' @@ -886,7 +861,7 @@ $ hg split SPLIT2 SPLIT3 << EOF > y - > s + > n > d > EOF 0 files updated, 0 files merged, 3 files removed, 0 files unresolved @@ -895,15 +870,11 @@ adding SPLIT4 diff --git a/SPLIT2 b/SPLIT2 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp2 - record change 1/2 to 'SPLIT2'? [Ynesfdaq?] y + examine changes to 'SPLIT2'? [Ynesfdaq?] y diff --git a/SPLIT3 b/SPLIT3 new file mode 100644 - @@ -0,0 +1,1 @@ - +sp3 - record change 2/2 to 'SPLIT3'? [Ynesfdaq?] s + examine changes to 'SPLIT3'? [Ynesfdaq?] n continue splitting? [Ycdq?] d discarding remaining changes