Mercurial > public > mercurial-scm > hg-stable
diff mercurial/scmutil.py @ 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 | 2a0efa1112ac |
children | 8abee656e14c |
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))