mercurial/revset.py
changeset 33778 f3f06c260e9e
parent 33777 d4b7496f7d0b
child 33779 9fa874fb34e1
--- a/mercurial/revset.py	Fri Aug 04 19:27:39 2017 +0200
+++ b/mercurial/revset.py	Fri Aug 04 19:36:27 2017 +0200
@@ -732,8 +732,8 @@
     """
     # i18n: "contentdivergent" is a keyword
     getargs(x, 0, 0, _("contentdivergent takes no arguments"))
-    divergent = obsmod.getrevs(repo, 'divergent')
-    return subset & divergent
+    contentdivergent = obsmod.getrevs(repo, 'contentdivergent')
+    return subset & contentdivergent
 
 @predicate('extinct()', safe=True)
 def extinct(repo, subset, x):