comparison mercurial/cmdutil.py @ 14098:9f5a0acb0056

revset aliases
author Alexander Solovyov <alexander@solovyov.net>
date Sat, 30 Apr 2011 18:30:14 +0200
parents 04ce8fa1015d
children 81e6d42b3228
comparison
equal deleted inserted replaced
14097:ca3376f044f8 14098:9f5a0acb0056
172 continue 172 continue
173 except error.RepoLookupError: 173 except error.RepoLookupError:
174 pass 174 pass
175 175
176 # fall through to new-style queries if old-style fails 176 # fall through to new-style queries if old-style fails
177 m = revset.match(spec) 177 m = revset.match(repo.ui, spec)
178 for r in m(repo, range(len(repo))): 178 for r in m(repo, range(len(repo))):
179 if r not in seen: 179 if r not in seen:
180 l.append(r) 180 l.append(r)
181 seen.update(l) 181 seen.update(l)
182 182