Show More
@@ -202,7 +202,6 b' class hgweb(object):' | |||||
202 | "child": self.siblings(cl.children(n), cl.rev, |
|
202 | "child": self.siblings(cl.children(n), cl.rev, | |
203 | cl.rev(n) + 1), |
|
203 | cl.rev(n) + 1), | |
204 | "changelogtag": self.showtag("changelogtag",n), |
|
204 | "changelogtag": self.showtag("changelogtag",n), | |
205 | "manifest": hex(changes[0]), |
|
|||
206 | "desc": changes[4], |
|
205 | "desc": changes[4], | |
207 | "date": changes[2], |
|
206 | "date": changes[2], | |
208 | "files": self.listfilediffs(changes[3], n), |
|
207 | "files": self.listfilediffs(changes[3], n), | |
@@ -223,7 +222,7 b' class hgweb(object):' | |||||
223 |
|
222 | |||
224 | yield self.t(shortlog and 'shortlog' or 'changelog', |
|
223 | yield self.t(shortlog and 'shortlog' or 'changelog', | |
225 | changenav=changenav, |
|
224 | changenav=changenav, | |
226 |
|
|
225 | node=hex(cl.tip()), | |
227 | rev=pos, changesets=count, entries=changelist, |
|
226 | rev=pos, changesets=count, entries=changelist, | |
228 | archives=self.archivelist("tip")) |
|
227 | archives=self.archivelist("tip")) | |
229 |
|
228 | |||
@@ -265,7 +264,6 b' class hgweb(object):' | |||||
265 | parent=self.siblings(cl.parents(n), cl.rev), |
|
264 | parent=self.siblings(cl.parents(n), cl.rev), | |
266 | child=self.siblings(cl.children(n), cl.rev), |
|
265 | child=self.siblings(cl.children(n), cl.rev), | |
267 | changelogtag=self.showtag("changelogtag",n), |
|
266 | changelogtag=self.showtag("changelogtag",n), | |
268 | manifest=hex(changes[0]), |
|
|||
269 | desc=changes[4], |
|
267 | desc=changes[4], | |
270 | date=changes[2], |
|
268 | date=changes[2], | |
271 | files=self.listfilediffs(changes[3], n), |
|
269 | files=self.listfilediffs(changes[3], n), | |
@@ -280,7 +278,7 b' class hgweb(object):' | |||||
280 |
|
278 | |||
281 | yield self.t('search', |
|
279 | yield self.t('search', | |
282 | query=query, |
|
280 | query=query, | |
283 |
|
|
281 | node=hex(cl.tip()), | |
284 | entries=changelist) |
|
282 | entries=changelist) | |
285 |
|
283 | |||
286 | def changeset(self, nodeid): |
|
284 | def changeset(self, nodeid): | |
@@ -309,7 +307,6 b' class hgweb(object):' | |||||
309 | parent=self.siblings(cl.parents(n), cl.rev), |
|
307 | parent=self.siblings(cl.parents(n), cl.rev), | |
310 | child=self.siblings(cl.children(n), cl.rev), |
|
308 | child=self.siblings(cl.children(n), cl.rev), | |
311 | changesettag=self.showtag("changesettag",n), |
|
309 | changesettag=self.showtag("changesettag",n), | |
312 | manifest=hex(changes[0]), |
|
|||
313 | author=changes[1], |
|
310 | author=changes[1], | |
314 | desc=changes[4], |
|
311 | desc=changes[4], | |
315 | date=changes[2], |
|
312 | date=changes[2], | |
@@ -385,7 +382,6 b' class hgweb(object):' | |||||
385 | mimetype=mt, |
|
382 | mimetype=mt, | |
386 | rev=changerev, |
|
383 | rev=changerev, | |
387 | node=hex(cn), |
|
384 | node=hex(cn), | |
388 | manifest=hex(mfn), |
|
|||
389 | author=cs[1], |
|
385 | author=cs[1], | |
390 | date=cs[2], |
|
386 | date=cs[2], | |
391 | parent=self.siblings(fl.parents(n), fl.rev, file=f), |
|
387 | parent=self.siblings(fl.parents(n), fl.rev, file=f), | |
@@ -424,7 +420,6 b' class hgweb(object):' | |||||
424 | path=_up(f), |
|
420 | path=_up(f), | |
425 | rev=fctx.rev(), |
|
421 | rev=fctx.rev(), | |
426 | node=hex(fctx.node()), |
|
422 | node=hex(fctx.node()), | |
427 | manifest=hex(fctx.changectx().changeset()[0]), |
|
|||
428 | author=fctx.user(), |
|
423 | author=fctx.user(), | |
429 | date=fctx.date(), |
|
424 | date=fctx.date(), | |
430 | rename=self.renamelink(fl, n), |
|
425 | rename=self.renamelink(fl, n), | |
@@ -432,14 +427,9 b' class hgweb(object):' | |||||
432 | child=self.siblings(fl.children(n), fl.rev, file=f), |
|
427 | child=self.siblings(fl.children(n), fl.rev, file=f), | |
433 | permissions=fctx.manifest().execf(f)) |
|
428 | permissions=fctx.manifest().execf(f)) | |
434 |
|
429 | |||
435 |
def manifest(self, |
|
430 | def manifest(self, ctx, path): | |
436 |
m |
|
431 | mf = ctx.manifest() | |
437 | mn = man.lookup(mnode) |
|
432 | node = ctx.node() | |
438 | mnode = hex(mn) |
|
|||
439 | mf = man.read(mn) |
|
|||
440 | rev = man.rev(mn) |
|
|||
441 | changerev = man.linkrev(mn) |
|
|||
442 | node = self.repo.changelog.node(changerev) |
|
|||
443 |
|
433 | |||
444 | files = {} |
|
434 | files = {} | |
445 |
|
435 | |||
@@ -469,7 +459,6 b' class hgweb(object):' | |||||
469 | continue |
|
459 | continue | |
470 |
|
460 | |||
471 | yield {"file": full, |
|
461 | yield {"file": full, | |
472 | "manifest": mnode, |
|
|||
473 | "filenode": hex(fnode), |
|
462 | "filenode": hex(fnode), | |
474 | "parity": self.stripes(parity), |
|
463 | "parity": self.stripes(parity), | |
475 | "basename": f, |
|
464 | "basename": f, | |
@@ -487,13 +476,11 b' class hgweb(object):' | |||||
487 |
|
476 | |||
488 | yield {"parity": self.stripes(parity), |
|
477 | yield {"parity": self.stripes(parity), | |
489 | "path": os.path.join(path, f), |
|
478 | "path": os.path.join(path, f), | |
490 | "manifest": mnode, |
|
|||
491 | "basename": f[:-1]} |
|
479 | "basename": f[:-1]} | |
492 | parity += 1 |
|
480 | parity += 1 | |
493 |
|
481 | |||
494 | yield self.t("manifest", |
|
482 | yield self.t("manifest", | |
495 |
|
|
483 | rev=ctx.rev(), | |
496 | rev=rev, |
|
|||
497 | node=hex(node), |
|
484 | node=hex(node), | |
498 | path=path, |
|
485 | path=path, | |
499 | up=_up(path), |
|
486 | up=_up(path), | |
@@ -503,7 +490,6 b' class hgweb(object):' | |||||
503 |
|
490 | |||
504 | def tags(self): |
|
491 | def tags(self): | |
505 | cl = self.repo.changelog |
|
492 | cl = self.repo.changelog | |
506 | mf = cl.read(cl.tip())[0] |
|
|||
507 |
|
493 | |||
508 | i = self.repo.tagslist() |
|
494 | i = self.repo.tagslist() | |
509 | i.reverse() |
|
495 | i.reverse() | |
@@ -514,19 +500,17 b' class hgweb(object):' | |||||
514 | if notip and k == "tip": continue |
|
500 | if notip and k == "tip": continue | |
515 | yield {"parity": self.stripes(parity), |
|
501 | yield {"parity": self.stripes(parity), | |
516 | "tag": k, |
|
502 | "tag": k, | |
517 | "tagmanifest": hex(cl.read(n)[0]), |
|
|||
518 | "date": cl.read(n)[2], |
|
503 | "date": cl.read(n)[2], | |
519 | "node": hex(n)} |
|
504 | "node": hex(n)} | |
520 | parity += 1 |
|
505 | parity += 1 | |
521 |
|
506 | |||
522 | yield self.t("tags", |
|
507 | yield self.t("tags", | |
523 |
|
|
508 | node=hex(self.repo.changelog.tip()), | |
524 | entries=lambda **x: entries(False, **x), |
|
509 | entries=lambda **x: entries(False, **x), | |
525 | entriesnotip=lambda **x: entries(True, **x)) |
|
510 | entriesnotip=lambda **x: entries(True, **x)) | |
526 |
|
511 | |||
527 | def summary(self): |
|
512 | def summary(self): | |
528 | cl = self.repo.changelog |
|
513 | cl = self.repo.changelog | |
529 | mf = cl.read(cl.tip())[0] |
|
|||
530 |
|
514 | |||
531 | i = self.repo.tagslist() |
|
515 | i = self.repo.tagslist() | |
532 | i.reverse() |
|
516 | i.reverse() | |
@@ -550,8 +534,7 b' class hgweb(object):' | |||||
550 | parity = self.stripes(parity), |
|
534 | parity = self.stripes(parity), | |
551 | tag = k, |
|
535 | tag = k, | |
552 | node = hex(n), |
|
536 | node = hex(n), | |
553 |
date = t |
|
537 | date = t) | |
554 | tagmanifest = hex(m)) |
|
|||
555 | parity += 1 |
|
538 | parity += 1 | |
556 |
|
539 | |||
557 | def changelist(**map): |
|
540 | def changelist(**map): | |
@@ -568,7 +551,6 b' class hgweb(object):' | |||||
568 | 'shortlogentry', |
|
551 | 'shortlogentry', | |
569 | parity = parity, |
|
552 | parity = parity, | |
570 | author = changes[1], |
|
553 | author = changes[1], | |
571 | manifest = hex(changes[0]), |
|
|||
572 | desc = changes[4], |
|
554 | desc = changes[4], | |
573 | date = t, |
|
555 | date = t, | |
574 | rev = i, |
|
556 | rev = i, | |
@@ -577,8 +559,6 b' class hgweb(object):' | |||||
577 |
|
559 | |||
578 | yield l |
|
560 | yield l | |
579 |
|
561 | |||
580 | cl = self.repo.changelog |
|
|||
581 | mf = cl.read(cl.tip())[0] |
|
|||
582 | count = cl.count() |
|
562 | count = cl.count() | |
583 | start = max(0, count - self.maxchanges) |
|
563 | start = max(0, count - self.maxchanges) | |
584 | end = min(count, start + self.maxchanges) |
|
564 | end = min(count, start + self.maxchanges) | |
@@ -589,9 +569,9 b' class hgweb(object):' | |||||
589 | self.repo.ui.config("web", "contact") or # deprecated |
|
569 | self.repo.ui.config("web", "contact") or # deprecated | |
590 | self.repo.ui.config("web", "author", "unknown")), # also |
|
570 | self.repo.ui.config("web", "author", "unknown")), # also | |
591 | lastchange = (0, 0), # FIXME |
|
571 | lastchange = (0, 0), # FIXME | |
592 | manifest = hex(mf), |
|
|||
593 | tags = tagentries, |
|
572 | tags = tagentries, | |
594 | shortlog = changelist, |
|
573 | shortlog = changelist, | |
|
574 | node = hex(self.repo.changelog.tip()), | |||
595 | archives=self.archivelist("tip")) |
|
575 | archives=self.archivelist("tip")) | |
596 |
|
576 | |||
597 | def filediff(self, file, changeset): |
|
577 | def filediff(self, file, changeset): | |
@@ -693,6 +673,15 b' class hgweb(object):' | |||||
693 | form[name] = value |
|
673 | form[name] = value | |
694 | del form[k] |
|
674 | del form[k] | |
695 |
|
675 | |||
|
676 | if form.has_key('manifest'): | |||
|
677 | changeid = req.form['manifest'][0] | |||
|
678 | try: | |||
|
679 | req.changectx = self.repo.changectx(changeid) | |||
|
680 | except hg.RepoError: | |||
|
681 | man = self.repo.manifest | |||
|
682 | mn = man.lookup(changeid) | |||
|
683 | req.changectx = self.repo.changectx(man.linkrev(mn)) | |||
|
684 | ||||
696 | self.refresh() |
|
685 | self.refresh() | |
697 |
|
686 | |||
698 | expand_form(req.form) |
|
687 | expand_form(req.form) | |
@@ -771,7 +760,7 b' class hgweb(object):' | |||||
771 | req.write(self.changeset(req.form['node'][0])) |
|
760 | req.write(self.changeset(req.form['node'][0])) | |
772 |
|
761 | |||
773 | def do_manifest(self, req): |
|
762 | def do_manifest(self, req): | |
774 |
req.write(self.manifest(req. |
|
763 | req.write(self.manifest(req.changectx, | |
775 | self.cleanpath(req.form['path'][0]))) |
|
764 | self.cleanpath(req.form['path'][0]))) | |
776 |
|
765 | |||
777 | def do_tags(self, req): |
|
766 | def do_tags(self, req): |
@@ -20,7 +20,7 b'' | |||||
20 | </div> |
|
20 | </div> | |
21 |
|
21 | |||
22 | <div class="page_nav"> |
|
22 | <div class="page_nav"> | |
23 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;rev=#rev#;style=gitweb">shortlog</a> | changelog | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="? |
|
23 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;rev=#rev#;style=gitweb">shortlog</a> | changelog | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a>#archives%archiveentry#<br/> | |
24 | <br/> |
|
24 | <br/> | |
25 | #changenav%naventry#<br/> |
|
25 | #changenav%naventry#<br/> | |
26 | </div> |
|
26 | </div> |
@@ -8,7 +8,7 b'' | |||||
8 | <div class="buttons"> |
|
8 | <div class="buttons"> | |
9 | <a href="?sl=#rev#">shortlog</a> |
|
9 | <a href="?sl=#rev#">shortlog</a> | |
10 | <a href="?cmd=tags">tags</a> |
|
10 | <a href="?cmd=tags">tags</a> | |
11 |
<a href="?mf=# |
|
11 | <a href="?mf=#node|short#;path=/">manifest</a> | |
12 | #archives%archiveentry# |
|
12 | #archives%archiveentry# | |
13 | <a type="application/rss+xml" href="?style=rss">rss</a> |
|
13 | <a type="application/rss+xml" href="?style=rss">rss</a> | |
14 | </div> |
|
14 | </div> |
@@ -19,7 +19,7 b'' | |||||
19 | <td class="date">#date|date#</td> |
|
19 | <td class="date">#date|date#</td> | |
20 | </tr> |
|
20 | </tr> | |
21 | <tr> |
|
21 | <tr> | |
22 |
<th class="files"><a href="?mf=# |
|
22 | <th class="files"><a href="?mf=#node|short#;path=/">files</a>:</th> | |
23 | <td class="files">#files#</td> |
|
23 | <td class="files">#files#</td> | |
24 | </tr> |
|
24 | </tr> | |
25 | </table> |
|
25 | </table> |
@@ -10,7 +10,7 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;rev=#rev#;style=gitweb">shortlog</a> | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="? |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;rev=#rev#;style=gitweb">shortlog</a> | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a> | changeset | <a href="?cmd=changeset;node=#node#;style=raw">raw</a> #archives%archiveentry#<br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div> |
|
16 | <div> | |
@@ -21,7 +21,7 b'' | |||||
21 | <tr><td>author</td><td>#author|obfuscate#</td></tr> |
|
21 | <tr><td>author</td><td>#author|obfuscate#</td></tr> | |
22 | <tr><td></td><td>#date|date# (#date|age# ago)</td></tr> |
|
22 | <tr><td></td><td>#date|date# (#date|age# ago)</td></tr> | |
23 | <tr><td>changeset</td><td style="font-family:monospace">#node|short#</td></tr> |
|
23 | <tr><td>changeset</td><td style="font-family:monospace">#node|short#</td></tr> | |
24 |
<tr><td>manifest</td><td style="font-family:monospace"><a class="list" href="? |
|
24 | <tr><td>manifest</td><td style="font-family:monospace"><a class="list" href="?mf=#node|short#;path=/;style=gitweb">#node|short#</a></td></tr> | |
25 | #parent%changesetparent# |
|
25 | #parent%changesetparent# | |
26 | #child%changesetchild# |
|
26 | #child%changesetchild# | |
27 | #changesettag# |
|
27 | #changesettag# |
@@ -7,7 +7,7 b'' | |||||
7 | <a href="?cl=#rev#">changelog</a> |
|
7 | <a href="?cl=#rev#">changelog</a> | |
8 | <a href="?sl=#rev#">shortlog</a> |
|
8 | <a href="?sl=#rev#">shortlog</a> | |
9 | <a href="?cmd=tags">tags</a> |
|
9 | <a href="?cmd=tags">tags</a> | |
10 |
<a href="?mf=# |
|
10 | <a href="?mf=#node|short#;path=/">manifest</a> | |
11 | <a href="?cs=#node|short#;style=raw">raw</a> |
|
11 | <a href="?cs=#node|short#;style=raw">raw</a> | |
12 | #archives%archiveentry# |
|
12 | #archives%archiveentry# | |
13 | </div> |
|
13 | </div> |
@@ -10,7 +10,7 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="? |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a><br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div> |
|
16 | <div> |
@@ -10,7 +10,7 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="? |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=gitweb">file</a> | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#filenode#;style=gitweb">revisions</a> | annotate | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#filenode#;style=raw">raw</a><br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div class="title">#file|escape#</div> |
|
16 | <div class="title">#file|escape#</div> | |
@@ -24,7 +24,7 b'' | |||||
24 | #child%fileannotatechild# |
|
24 | #child%fileannotatechild# | |
25 | <tr> |
|
25 | <tr> | |
26 | <td class="metatag">manifest:</td> |
|
26 | <td class="metatag">manifest:</td> | |
27 |
<td><a href="?mf=# |
|
27 | <td><a href="?mf=#node|short#;path=/;style=gitweb">#node|short#</a></td></tr> | |
28 | <tr> |
|
28 | <tr> | |
29 | <td class="metatag">author:</td> |
|
29 | <td class="metatag">author:</td> | |
30 | <td>#author|obfuscate#</td></tr> |
|
30 | <td>#author|obfuscate#</td></tr> |
@@ -8,7 +8,7 b'' | |||||
8 | <a href="?sl=#rev#">shortlog</a> |
|
8 | <a href="?sl=#rev#">shortlog</a> | |
9 | <a href="?tags=">tags</a> |
|
9 | <a href="?tags=">tags</a> | |
10 | <a href="?cs=#node|short#">changeset</a> |
|
10 | <a href="?cs=#node|short#">changeset</a> | |
11 |
<a href="?mf=# |
|
11 | <a href="?mf=#node|short#;path=#path|urlescape#">manifest</a> | |
12 | <a href="?f=#filenode|short#;file=#file|urlescape#">file</a> |
|
12 | <a href="?f=#filenode|short#;file=#file|urlescape#">file</a> | |
13 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> |
|
13 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> | |
14 | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> |
|
14 | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> |
@@ -10,7 +10,7 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=# |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | file | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#filenode#;style=gitweb">revisions</a> | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#filenode#;style=gitweb">annotate</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=raw">raw</a><br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div class="title">#file|escape#</div> |
|
16 | <div class="title">#file|escape#</div> | |
@@ -24,7 +24,7 b'' | |||||
24 | #child%fileannotatechild# |
|
24 | #child%fileannotatechild# | |
25 | <tr> |
|
25 | <tr> | |
26 | <td class="metatag">manifest:</td> |
|
26 | <td class="metatag">manifest:</td> | |
27 |
<td><a href="?mf=# |
|
27 | <td><a href="?mf=#node|short#;path=/;style=gitweb">#node|short#</a></td></tr> | |
28 | <tr> |
|
28 | <tr> | |
29 | <td class="metatag">author:</td> |
|
29 | <td class="metatag">author:</td> | |
30 | <td>#author|obfuscate#</td></tr> |
|
30 | <td>#author|obfuscate#</td></tr> |
@@ -8,7 +8,7 b'' | |||||
8 | <a href="?sl=#rev#">shortlog</a> |
|
8 | <a href="?sl=#rev#">shortlog</a> | |
9 | <a href="?tags=">tags</a> |
|
9 | <a href="?tags=">tags</a> | |
10 | <a href="?cs=#node|short#">changeset</a> |
|
10 | <a href="?cs=#node|short#">changeset</a> | |
11 |
<a href="?mf=# |
|
11 | <a href="?mf=#node|short#;path=#path|urlescape#">manifest</a> | |
12 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> |
|
12 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> | |
13 | <a href="?fa=#filenode|short#;file=#file|urlescape#">annotate</a> |
|
13 | <a href="?fa=#filenode|short#;file=#file|urlescape#">annotate</a> | |
14 | <a href="?f=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> |
|
14 | <a href="?f=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> |
@@ -18,7 +18,7 b'' | |||||
18 | <table cellspacing="0"> |
|
18 | <table cellspacing="0"> | |
19 | <tr class="light"> |
|
19 | <tr class="light"> | |
20 | <td style="font-family:monospace">drwxr-xr-x</td> |
|
20 | <td style="font-family:monospace">drwxr-xr-x</td> | |
21 |
<td><a href="? |
|
21 | <td><a href="?mf=#node|short#;path=#up|urlescape#;style=gitweb">[up]</a></td> | |
22 | <td class="link"> </td> |
|
22 | <td class="link"> </td> | |
23 | </tr> |
|
23 | </tr> | |
24 | #dentries%manifestdirentry# |
|
24 | #dentries%manifestdirentry# |
@@ -1,5 +1,5 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 |
<title>#repo|escape#: manifest |
|
2 | <title>#repo|escape#: manifest for changeset #node|short#</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
@@ -16,7 +16,7 b'' | |||||
16 | <table cellpadding="0" cellspacing="0"> |
|
16 | <table cellpadding="0" cellspacing="0"> | |
17 | <tr class="parity1"> |
|
17 | <tr class="parity1"> | |
18 | <td><tt>drwxr-xr-x</tt> |
|
18 | <td><tt>drwxr-xr-x</tt> | |
19 |
<td><a href="?mf=# |
|
19 | <td><a href="?mf=#node|short#;path=#up|urlescape#">[up]</a> | |
20 | #dentries%manifestdirentry# |
|
20 | #dentries%manifestdirentry# | |
21 | #fentries%manifestfileentry# |
|
21 | #fentries%manifestfileentry# | |
22 | </table> |
|
22 | </table> |
@@ -14,7 +14,7 b' changelogentry = changelogentry.tmpl' | |||||
14 | searchentry = changelogentry.tmpl |
|
14 | searchentry = changelogentry.tmpl | |
15 | changeset = changeset.tmpl |
|
15 | changeset = changeset.tmpl | |
16 | manifest = manifest.tmpl |
|
16 | manifest = manifest.tmpl | |
17 |
manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="? |
|
17 | manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="?mf=#node|short#;path=#path|urlescape#">#basename|escape#/</a>' | |
18 | manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="?f=#filenode|short#;file=#file|urlescape#">#basename|escape#</a>' |
|
18 | manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="?f=#filenode|short#;file=#file|urlescape#">#basename|escape#</a>' | |
19 | filerevision = filerevision.tmpl |
|
19 | filerevision = filerevision.tmpl | |
20 | fileannotate = fileannotate.tmpl |
|
20 | fileannotate = fileannotate.tmpl |
@@ -14,7 +14,7 b' changelogentry = changelogentry-gitweb.t' | |||||
14 | searchentry = changelogentry-gitweb.tmpl |
|
14 | searchentry = changelogentry-gitweb.tmpl | |
15 | changeset = changeset-gitweb.tmpl |
|
15 | changeset = changeset-gitweb.tmpl | |
16 | manifest = manifest-gitweb.tmpl |
|
16 | manifest = manifest-gitweb.tmpl | |
17 |
manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="?mf=# |
|
17 | manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">#basename|escape#/</a></td><td class="link"><a href="?mf=#node|short#;path=#path|urlescape#;style=gitweb">manifest</a></td></tr>' | |
18 | manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="?f=#filenode|short#;file=#file|urlescape#;style=gitweb">#basename|escape#</a></td><td class="link"><a href="?f=#filenode|short#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fl=#filenode|short#;file=#file|urlescape#;style=gitweb">revisions</a> | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a></td></tr>' |
|
18 | manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="?f=#filenode|short#;file=#file|urlescape#;style=gitweb">#basename|escape#</a></td><td class="link"><a href="?f=#filenode|short#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fl=#filenode|short#;file=#file|urlescape#;style=gitweb">revisions</a> | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a></td></tr>' | |
19 | filerevision = filerevision-gitweb.tmpl |
|
19 | filerevision = filerevision-gitweb.tmpl | |
20 | fileannotate = fileannotate-gitweb.tmpl |
|
20 | fileannotate = fileannotate-gitweb.tmpl | |
@@ -36,7 +36,7 b" changesetchild = '<tr><td>child</td><td " | |||||
36 | filerevchild = '<tr><td class="metatag">child:</td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' |
|
36 | filerevchild = '<tr><td class="metatag">child:</td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' | |
37 | fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="?cmd=annotate;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' |
|
37 | fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="?cmd=annotate;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' | |
38 | tags = tags-gitweb.tmpl |
|
38 | tags = tags-gitweb.tmpl | |
39 |
tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?mf=# |
|
39 | tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a></td></tr>' | |
40 | diffblock = '<pre>#lines#</pre>' |
|
40 | diffblock = '<pre>#lines#</pre>' | |
41 | changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' |
|
41 | changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' | |
42 | changesettag = '<tr><td>tag</td><td>#tag|escape#</td></tr>' |
|
42 | changesettag = '<tr><td>tag</td><td>#tag|escape#</td></tr>' | |
@@ -45,6 +45,6 b' filelogparent = \'<tr><td align="right">p' | |||||
45 | filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>' |
|
45 | filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>' | |
46 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' |
|
46 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>' | |
47 | shortlog = shortlog-gitweb.tmpl |
|
47 | shortlog = shortlog-gitweb.tmpl | |
48 |
shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=manifest;manifest=# |
|
48 | shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=manifest;manifest=#node|short#;path=/;style=gitweb">manifest</a></td></tr>' | |
49 | filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">file</a> | <!-- FIXME: <a href="?fd=#node|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a> #rename%filelogrename#</td></tr>' |
|
49 | filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="?f=#node|short#;file=#file|urlescape#;style=gitweb">file</a> | <!-- FIXME: <a href="?fd=#node|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a> #rename%filelogrename#</td></tr>' | |
50 | archiveentry = ' | <a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> ' |
|
50 | archiveentry = ' | <a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> ' |
@@ -1,6 +1,6 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 | <div class="page_nav"> |
|
2 | <div class="page_nav"> | |
3 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="? |
|
3 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a><br/> | |
4 | </div> |
|
4 | </div> | |
5 |
|
5 | |||
6 | <h2>searching for #query|escape#</h2> |
|
6 | <h2>searching for #query|escape#</h2> |
@@ -7,7 +7,7 b'' | |||||
7 | <a href="?cl=tip">changelog</a> |
|
7 | <a href="?cl=tip">changelog</a> | |
8 | <a href="?sl=tip">shortlog</a> |
|
8 | <a href="?sl=tip">shortlog</a> | |
9 | <a href="?tags=">tags</a> |
|
9 | <a href="?tags=">tags</a> | |
10 |
<a href="?mf=# |
|
10 | <a href="?mf=#node|short#;path=/">manifest</a> | |
11 | </div> |
|
11 | </div> | |
12 |
|
12 | |||
13 | <h2>searching for #query|escape#</h2> |
|
13 | <h2>searching for #query|escape#</h2> |
@@ -19,7 +19,7 b'' | |||||
19 | </form> |
|
19 | </form> | |
20 | </div> |
|
20 | </div> | |
21 | <div class="page_nav"> |
|
21 | <div class="page_nav"> | |
22 |
<a href="?cmd=summary;style=gitweb">summary</a> | shortlog | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="? |
|
22 | <a href="?cmd=summary;style=gitweb">summary</a> | shortlog | <a href="?cmd=changelog;rev=#rev#;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#node|short#;path=/;style=gitweb">manifest</a>#archives%archiveentry#<br/> | |
23 | <br/> |
|
23 | <br/> | |
24 |
|
24 | |||
25 | #changenav%navshortentry#<br/> |
|
25 | #changenav%navshortentry#<br/> |
@@ -8,7 +8,7 b'' | |||||
8 | <div class="buttons"> |
|
8 | <div class="buttons"> | |
9 | <a href="?cl=#rev#">changelog</a> |
|
9 | <a href="?cl=#rev#">changelog</a> | |
10 | <a href="?cmd=tags">tags</a> |
|
10 | <a href="?cmd=tags">tags</a> | |
11 |
<a href="?mf=# |
|
11 | <a href="?mf=#node|short#;path=/">manifest</a> | |
12 | #archives%archiveentry# |
|
12 | #archives%archiveentry# | |
13 | <a type="application/rss+xml" href="?style=rss">rss</a> |
|
13 | <a type="application/rss+xml" href="?style=rss">rss</a> | |
14 | </div> |
|
14 | </div> |
@@ -9,7 +9,7 b'' | |||||
9 | <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / summary |
|
9 | <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="?cmd=summary;style=gitweb">#repo|escape#</a> / summary | |
10 | </div> |
|
10 | </div> | |
11 | <div class="page_nav"> |
|
11 | <div class="page_nav"> | |
12 |
summary | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=m |
|
12 | summary | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=mf=#node|short#;path=/;style=gitweb">manifest</a>#archives%archiveentry# | |
13 | <br/> |
|
13 | <br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 |
@@ -10,7 +10,7 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 |
<a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | tags | <a href="?cmd=manifest;manifest=# |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=shortlog;style=gitweb">shortlog</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | tags | <a href="?cmd=manifest;manifest=#node|short#;path=/;style=gitweb">manifest</a> | |
14 | <br/> |
|
14 | <br/> | |
15 | </div> |
|
15 | </div> | |
16 |
|
16 |
@@ -8,7 +8,7 b'' | |||||
8 | <div class="buttons"> |
|
8 | <div class="buttons"> | |
9 | <a href="?cl=tip">changelog</a> |
|
9 | <a href="?cl=tip">changelog</a> | |
10 | <a href="?sl=tip">shortlog</a> |
|
10 | <a href="?sl=tip">shortlog</a> | |
11 |
<a href="?mf=# |
|
11 | <a href="?mf=#node|short#;path=/">manifest</a> | |
12 | <a type="application/rss+xml" href="?cmd=tags;style=rss">rss</a> |
|
12 | <a type="application/rss+xml" href="?cmd=tags;style=rss">rss</a> | |
13 | </div> |
|
13 | </div> | |
14 |
|
14 |
@@ -3,14 +3,11 b' rev a changeset.manifest revis' | |||||
3 | node a changeset node |
|
3 | node a changeset node | |
4 | changesets total number of changesets |
|
4 | changesets total number of changesets | |
5 | file a filename |
|
5 | file a filename | |
6 | filenode a file node |
|
|||
7 | filerev a file revision |
|
6 | filerev a file revision | |
8 | filerevs total number of file revisions |
|
7 | filerevs total number of file revisions | |
9 | up the directory of the relevant file |
|
8 | up the directory of the relevant file | |
10 | path a path in the manifest, starting with "/" |
|
9 | path a path in the manifest, starting with "/" | |
11 | basename a short pathname |
|
10 | basename a short pathname | |
12 | manifest a manifest node |
|
|||
13 | manifestrev a manifest revision |
|
|||
14 | date a date string |
|
11 | date a date string | |
15 | age age in hours, days, etc |
|
12 | age age in hours, days, etc | |
16 | line a line of text (escaped) |
|
13 | line a line of text (escaped) |
General Comments 0
You need to be logged in to leave comments.
Login now