Submitter | Kevin Bullock |
---|---|
Date | Jan. 26, 2013, 2:04 a.m. |
Message ID | <010d6d3fcfee422f4dd4.1359165886@Slower-Than-Infinity.local> |
Download | mbox | patch |
Permalink | /patch/741/ |
State | Accepted |
Commit | 010d6d3fcfee422f4dd458321c6f540954548d7e |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -188,7 +188,7 @@ def changelog(web, req, tmpl, shortlog=F if 'rev' in req.form: hi = req.form['rev'][0] else: - hi = len(web.repo) - 1 + hi = 'tip' try: ctx = web.repo[hi] except error.RepoError: