Show More
@@ -154,7 +154,7 b' def revrange(repo, revs):' | |||
|
154 | 154 | return defval |
|
155 | 155 | return repo.changelog.rev(repo.lookup(val)) |
|
156 | 156 | |
|
157 |
seen, l = |
|
|
157 | seen, l = set(), [] | |
|
158 | 158 | for spec in revs: |
|
159 | 159 | if revrangesep in spec: |
|
160 | 160 | start, end = spec.split(revrangesep, 1) |
@@ -164,13 +164,13 b' def revrange(repo, revs):' | |||
|
164 | 164 | for rev in xrange(start, end+step, step): |
|
165 | 165 | if rev in seen: |
|
166 | 166 | continue |
|
167 |
seen |
|
|
167 | seen.add(rev) | |
|
168 | 168 | l.append(rev) |
|
169 | 169 | else: |
|
170 | 170 | rev = revfix(repo, spec, None) |
|
171 | 171 | if rev in seen: |
|
172 | 172 | continue |
|
173 |
seen |
|
|
173 | seen.add(rev) | |
|
174 | 174 | l.append(rev) |
|
175 | 175 | |
|
176 | 176 | return l |
General Comments 0
You need to be logged in to leave comments.
Login now