On Mon, 26 Feb 2018 22:05:26 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov <a...@dwimlabs.net> > # Date 1519649041 -28800 > # Mon Feb 26 20:44:01 2018 +0800 > # Node ID 0aa1728931cc2c2c7d6ee0f18e0618fc17add42a > # Parent aefb75730ea34f545f0756bf8441fc9ae07bf8dc > debug: add debugexplainunstable that explains instabilities
> diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py > --- a/mercurial/obsolete.py > +++ b/mercurial/obsolete.py > @@ -1039,3 +1039,35 @@ def createmarkers(repo, relations, flag= > date=date, metadata=localmetadata, > ui=repo.ui) > repo.filteredrevcache.clear() > + > +def explainunstable(repo, ctx): I think this is an obs"util" function. > + if ctx.contentdivergent(): > + dsets = obsutil.divergentsets(repo, ctx) > + for dset in dsets: > + divnodes = [repo[n] for n in dset['divergentnodes']] # hmm Hmm? _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel