[PATCH 1 of 6 V2] scmutil: make cleanupnodes handle filtered node
Martin von Zweigbergk
martinvonz at google.com
Sat Jul 8 04:41:05 UTC 2017
On Fri, Jul 7, 2017 at 7:11 PM, Jun Wu <quark at fb.com> wrote:
> diff --git a/tests/test-obsolete-divergent.t b/tests/test-obsolete-divergent.t
> --- a/tests/test-obsolete-divergent.t
> +++ b/tests/test-obsolete-divergent.t
> @@ -618,2 +620,47 @@ successors-set. (report [A,B] not [A] +
>
> $ cd ..
> +
> +Use scmutil.cleanupnodes API to create divergence
> +
> + $ hg init cleanupnodes
> + $ cd cleanupnodes
> + $ hg debugdrawdag <<'EOS'
> + > B1 B3 B4
> + > | \|
> + > A Z
> + > EOS
> +
> + $ hg update -q B1
> + $ echo 3 >> B
> + $ hg commit --amend -m B2
Did you mean to use your new drawdag syntax (comments) to create this
obsmarker? Just checking; I'm fine with it as is.
More information about the Mercurial-devel
mailing list