sapling/eden/scm/tests/test-merge-update-noconflict.t
Xavier Deguillard e0e01cbc81 bundle2: backout D19656773
Summary: This broke a bunch of tests. Revert it and re-enable all the tests.

Reviewed By: DurhamG

Differential Revision: D19665042

fbshipit-source-id: c3c17e3ac7e2ea028be5b5836bc8349cdf56184e
2020-01-31 10:48:19 -08:00

30 lines
692 B
Perl

#chg-compatible
$ enable amend rebase
$ setconfig experimental.updatecheck=noconflict
Updating w/ noconflict prints the conflicting changes:
$ newrepo
$ hg debugdrawdag <<'EOS'
> c # c/b = foo
> | # c/a = bar
> b # c/z = foo
> | # c/y = bar
> | # b/z = base
> | # b/y = base
> a
> EOS
$ hg up b
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
(activating bookmark b)
$ echo "conflict" | tee a b y z
conflict
$ hg up c
abort: 4 conflicting file changes:
a
b
y
z
(commit, shelve, update --clean to discard them, or update --merge to merge them)
[255]