changeset 16814:9da5a2864f3f stable

scmutil: seen.union should be seen.update (issue3476)
author Bryan O'Sullivan <bryano@fb.com>
date Thu, 31 May 2012 20:55:30 -0700
parents 6d42c797ca6e
children 85a358df5bbb
files mercurial/scmutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/scmutil.py	Fri Jun 01 17:37:56 2012 +0200
+++ b/mercurial/scmutil.py	Thu May 31 20:55:30 2012 -0700
@@ -568,7 +568,7 @@
                 newrevs = set(xrange(start, end + step, step))
                 if seen:
                     newrevs.difference_update(seen)
-                    seen.union(newrevs)
+                    seen.update(newrevs)
                 else:
                     seen = newrevs
                 l.extend(sorted(newrevs, reverse=start > end))