##// END OF EJS Templates
paper: show branch/tags/bookmarks when diffing (issue3559)
Anton Shestakov -
r25134:339e3cc0 default
parent child Browse files
Show More
@@ -811,6 +811,8 b' def filediff(web, req, tmpl):'
811 branch=webutil.nodebranchnodefault(ctx),
811 branch=webutil.nodebranchnodefault(ctx),
812 parent=webutil.parents(ctx),
812 parent=webutil.parents(ctx),
813 child=webutil.children(ctx),
813 child=webutil.children(ctx),
814 tags=webutil.nodetagsdict(web.repo, n),
815 bookmarks=webutil.nodebookmarksdict(web.repo, n),
814 diff=diffs)
816 diff=diffs)
815
817
816 diff = webcommand('diff')(filediff)
818 diff = webcommand('diff')(filediff)
@@ -36,7 +36,7 b''
36
36
37 <div class="main">
37 <div class="main">
38 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
38 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
39 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
39 <h3>diff {file|escape} @ {rev}:{node|short} {branch%changelogbranchname}{tags%changelogtag}{bookmarks%changelogtag}</h3>
40
40
41 <form class="search" action="{url|urlescape}log">
41 <form class="search" action="{url|urlescape}log">
42 <p>{sessionvars%hiddenformentry}</p>
42 <p>{sessionvars%hiddenformentry}</p>
@@ -249,7 +249,7 b' diff removed file'
249
249
250 <div class="main">
250 <div class="main">
251 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
251 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
252 <h3>diff b @ 1:559edbd9ed20</h3>
252 <h3>diff b @ 1:559edbd9ed20 <span class="tag">tip</span> </h3>
253
253
254 <form class="search" action="/log">
254 <form class="search" action="/log">
255 <p></p>
255 <p></p>
@@ -525,7 +525,7 b' diff modified file'
525
525
526 <div class="main">
526 <div class="main">
527 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
527 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
528 <h3>diff a @ 1:559edbd9ed20</h3>
528 <h3>diff a @ 1:559edbd9ed20 <span class="tag">tip</span> </h3>
529
529
530 <form class="search" action="/log">
530 <form class="search" action="/log">
531 <p></p>
531 <p></p>
@@ -185,7 +185,7 b' diff removed file'
185
185
186 <div class="main">
186 <div class="main">
187 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
187 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
188 <h3>diff a @ 1:c78f6c5cbea9</h3>
188 <h3>diff a @ 1:c78f6c5cbea9 <span class="tag">tip</span> </h3>
189
189
190 <form class="search" action="/log">
190 <form class="search" action="/log">
191 <p></p>
191 <p></p>
General Comments 0
You need to be logged in to leave comments. Login now