Mercurial > hg
comparison mercurial/localrepo.py @ 2098:190c6a81e6ad
Remove bogus raise from localrepo.lookup()
author | Chris Mason <mason@suse.com> |
---|---|
date | Wed, 19 Apr 2006 15:35:10 -0400 |
parents | f71e9656524f |
children | 7ff92c04f8e5 |
comparison
equal
deleted
inserted
replaced
2085:f71e9656524f | 2098:190c6a81e6ad |
---|---|
166 return self.tags()[key] | 166 return self.tags()[key] |
167 except KeyError: | 167 except KeyError: |
168 try: | 168 try: |
169 return self.changelog.lookup(key) | 169 return self.changelog.lookup(key) |
170 except: | 170 except: |
171 raise | |
172 raise repo.RepoError(_("unknown revision '%s'") % key) | 171 raise repo.RepoError(_("unknown revision '%s'") % key) |
173 | 172 |
174 def dev(self): | 173 def dev(self): |
175 return os.stat(self.path).st_dev | 174 return os.stat(self.path).st_dev |
176 | 175 |