Show More
@@ -608,7 +608,10 b' class localrepository:' | |||||
608 | try: |
|
608 | try: | |
609 | return self.tags()[key] |
|
609 | return self.tags()[key] | |
610 | except KeyError: |
|
610 | except KeyError: | |
611 | return self.changelog.lookup(key) |
|
611 | try: | |
|
612 | return self.changelog.lookup(key) | |||
|
613 | except: | |||
|
614 | raise RepoError("unknown revision '%s'" % key) | |||
612 |
|
615 | |||
613 | def dev(self): |
|
616 | def dev(self): | |
614 | if self.remote: return -1 |
|
617 | if self.remote: return -1 |
General Comments 0
You need to be logged in to leave comments.
Login now