1067 repo = hgapi.Repo (reponame) |
1067 repo = hgapi.Repo (reponame) |
1068 repo.hg_command ("log", "-r", args[0], "--template", " ") |
1068 repo.hg_command ("log", "-r", args[0], "--template", " ") |
1069 break |
1069 break |
1070 except hgapi.hgapi.HgException: |
1070 except hgapi.hgapi.HgException: |
1071 pass |
1071 pass |
|
1072 else: |
|
1073 repo = None |
1072 #done |
1074 #done |
1073 |
1075 |
1074 if repo == None: |
1076 if repo == None: |
1075 self.privmsg (replyto, 'couldn\'t find changeset %s' % (args[0])) |
1077 self.privmsg (replyto, 'couldn\'t find changeset %s' % (args[0])) |
1076 else: |
1078 else: |