comparison hgext/graphlog.py @ 4735:8d4fac0a9df7

Make hg glog abort if unused arguments are given.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 28 Jun 2007 16:18:09 +0200
parents eadfaa9ec487
children 9ed100559851
comparison
equal deleted inserted replaced
4734:9ac493f12901 4735:8d4fac0a9df7
139 revs = revrange(repo, rev_opt) 139 revs = revrange(repo, rev_opt)
140 return (max(revs), min(revs)) 140 return (max(revs), min(revs))
141 else: 141 else:
142 return (repo.changelog.count() - 1, 0) 142 return (repo.changelog.count() - 1, 0)
143 143
144 def graphlog(ui, repo, *args, **opts): 144 def graphlog(ui, repo, **opts):
145 """show revision history alongside an ASCII revision graph 145 """show revision history alongside an ASCII revision graph
146 146
147 Print a revision history alongside a revision graph drawn with 147 Print a revision history alongside a revision graph drawn with
148 ASCII characters. 148 ASCII characters.
149 149