Show More
@@ -351,13 +351,12 b' def bisect(ui, repo, rev=None, extra=Non' | |||
|
351 | 351 | else: |
|
352 | 352 | ui.write(_("The first bad revision is:\n")) |
|
353 | 353 | displayer.show(repo[nodes[0]]) |
|
354 | parents = repo[nodes[0]].parents() | |
|
355 | 354 | extendnode = extendbisectrange(nodes, good) |
|
356 | 355 | if extendnode is not None: |
|
357 | 356 | ui.write(_('Not all ancestors of this changeset have been' |
|
358 | 357 | ' checked.\nUse bisect --extend to continue the ' |
|
359 | 358 | 'bisection from\nthe common ancestor, %s.\n') |
|
360 |
% |
|
|
359 | % extendnode) | |
|
361 | 360 | else: |
|
362 | 361 | # multiple possible revisions |
|
363 | 362 | if good: |
@@ -459,7 +458,7 b' def bisect(ui, repo, rev=None, extra=Non' | |||
|
459 | 458 | extendnode = extendbisectrange(nodes, good) |
|
460 | 459 | if extendnode is not None: |
|
461 | 460 | ui.write(_("Extending search to changeset %d:%s\n" |
|
462 |
% (extendnode.rev(), |
|
|
461 | % (extendnode.rev(), extendnode))) | |
|
463 | 462 | if noupdate: |
|
464 | 463 | return |
|
465 | 464 | cmdutil.bail_if_changed(repo) |
@@ -80,7 +80,7 b' def _filerevision(web, tmpl, fctx):' | |||
|
80 | 80 | path=webutil.up(f), |
|
81 | 81 | text=lines(), |
|
82 | 82 | rev=fctx.rev(), |
|
83 |
node=hex( |
|
|
83 | node=fctx.hex(), | |
|
84 | 84 | author=fctx.user(), |
|
85 | 85 | date=fctx.date(), |
|
86 | 86 | desc=fctx.description(), |
@@ -239,7 +239,7 b' def changelog(web, req, tmpl, shortlog=F' | |||
|
239 | 239 | changenav = webutil.revnavgen(pos, revcount, count, web.repo.changectx) |
|
240 | 240 | |
|
241 | 241 | return tmpl(shortlog and 'shortlog' or 'changelog', changenav=changenav, |
|
242 |
node=hex( |
|
|
242 | node=ctx.hex(), rev=pos, changesets=count, | |
|
243 | 243 | entries=lambda **x: changelist(limit=0,**x), |
|
244 | 244 | latestentry=lambda **x: changelist(limit=1,**x), |
|
245 | 245 | archives=web.archivelist("tip"), revcount=revcount, |
@@ -582,7 +582,7 b' def annotate(web, req, tmpl):' | |||
|
582 | 582 | last = fnode |
|
583 | 583 | |
|
584 | 584 | yield {"parity": parity.next(), |
|
585 |
"node": hex( |
|
|
585 | "node": f.hex(), | |
|
586 | 586 | "rev": f.rev(), |
|
587 | 587 | "author": f.user(), |
|
588 | 588 | "desc": f.description(), |
@@ -598,7 +598,7 b' def annotate(web, req, tmpl):' | |||
|
598 | 598 | annotate=annotate, |
|
599 | 599 | path=webutil.up(f), |
|
600 | 600 | rev=fctx.rev(), |
|
601 |
node=hex( |
|
|
601 | node=fctx.hex(), | |
|
602 | 602 | author=fctx.user(), |
|
603 | 603 | date=fctx.date(), |
|
604 | 604 | desc=fctx.description(), |
@@ -655,7 +655,7 b' def filelog(web, req, tmpl):' | |||
|
655 | 655 | l.insert(0, {"parity": parity.next(), |
|
656 | 656 | "filerev": i, |
|
657 | 657 | "file": f, |
|
658 |
"node": hex( |
|
|
658 | "node": iterfctx.hex(), | |
|
659 | 659 | "author": iterfctx.user(), |
|
660 | 660 | "date": iterfctx.date(), |
|
661 | 661 | "rename": webutil.renamelink(iterfctx), |
@@ -677,7 +677,7 b' def filelog(web, req, tmpl):' | |||
|
677 | 677 | |
|
678 | 678 | nodefunc = lambda x: fctx.filectx(fileid=x) |
|
679 | 679 | nav = webutil.revnavgen(end - 1, revcount, count, nodefunc) |
|
680 |
return tmpl("filelog", file=f, node=hex( |
|
|
680 | return tmpl("filelog", file=f, node=fctx.hex(), nav=nav, | |
|
681 | 681 | entries=lambda **x: entries(limit=0, **x), |
|
682 | 682 | latestentry=lambda **x: entries(limit=1, **x), |
|
683 | 683 | revcount=revcount, morevars=morevars, lessvars=lessvars) |
@@ -762,7 +762,7 b' def graph(web, req, tmpl):' | |||
|
762 | 762 | for (id, type, ctx, vtx, edges) in tree: |
|
763 | 763 | if type != graphmod.CHANGESET: |
|
764 | 764 | continue |
|
765 |
node = s |
|
|
765 | node = str(ctx) | |
|
766 | 766 | age = templatefilters.age(ctx.date()) |
|
767 | 767 | desc = templatefilters.firstline(ctx.description()) |
|
768 | 768 | desc = cgi.escape(templatefilters.nonempty(desc)) |
@@ -790,8 +790,6 b' def help(web, req, tmpl):' | |||
|
790 | 790 | |
|
791 | 791 | topicname = req.form.get('node', [None])[0] |
|
792 | 792 | if not topicname: |
|
793 | topic = [] | |
|
794 | ||
|
795 | 793 | def topics(**map): |
|
796 | 794 | for entries, summary, _ in helpmod.helptable: |
|
797 | 795 | entries = sorted(entries, key=len) |
@@ -66,7 +66,7 b' def _siblings(siblings=[], hiderev=None)' | |||
|
66 | 66 | if len(siblings) == 1 and siblings[0].rev() == hiderev: |
|
67 | 67 | return |
|
68 | 68 | for s in siblings: |
|
69 |
d = {'node': hex( |
|
|
69 | d = {'node': s.hex(), 'rev': s.rev()} | |
|
70 | 70 | d['user'] = s.user() |
|
71 | 71 | d['date'] = s.date() |
|
72 | 72 | d['description'] = s.description() |
General Comments 0
You need to be logged in to leave comments.
Login now