changeset 122 | 82fd709deb8e |
parent 121 | 66fb61d9d97d |
child 123 | b93cc016eec9 |
--- a/hg Fri May 20 17:44:34 2005 -0800 +++ b/hg Fri May 20 17:45:03 2005 -0800 @@ -213,7 +213,10 @@ opts = [('r', 'revision', '', 'revision')] args = fancyopts.fancyopts(args, opts, aoptions, 'hg annotate [-r id] [files]') + if args: + if relpath: args = [ os.path.join(relpath, x) for x in args ] + node = repo.current if aoptions['revision']: node = repo.changelog.lookup(aoptions['revision'])