Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/changeset.tmpl @ 1237:227cfbe34109
Fix off by one in convert-repo tags
--- crew.orig/contrib/convert-repo 2005-07-16 11:52:06.000000000 -0400
+++ crew/contrib/convert-repo 2005-09-02 02:58:14.000000000 -0400
@@ -86,9 +86,7 @@ class convert_git:
for f in os.listdir(self.path + "/.git/refs/tags"):
try:
h = file(self.path + "/.git/refs/tags/" + f).read().strip()
- p, a, d, m = self.getcommit(h)
- if not p: p = [h] # git is ugly, don't blame me
- tags[f] = p[0]
+ tags[f] = h
except:
pass
return tags
--
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial
author | mason@suse.com |
---|---|
date | Tue, 13 Sep 2005 19:32:43 -0500 |
parents | 33f40d0c6124 |
children | 710079d2a821 |
rev | line source |
---|---|
142 | 1 #header# |
375 | 2 <title>#repo|escape#: changeset #node|short#</title> |
142 | 3 </head> |
4 <body> | |
138 | 5 |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
6 <div class="buttons"> |
153
e8a360cd5a9f
changed pos to rev for changelog cmd, changed & to ;
jake@edge2.net
parents:
142
diff
changeset
|
7 <a href="?cmd=changelog;rev=#rev#">changelog</a> |
168 | 8 <a href="?cmd=tags">tags</a> |
138 | 9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a> |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
172
diff
changeset
|
10 <a href="?cmd=changeset;node=#node#;style=raw">raw</a> |
1078 | 11 #archives%archiveentry# |
142 | 12 </div> |
138 | 13 |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
172
diff
changeset
|
14 <h2>changeset: #desc|escape|firstline#</h2> |
138 | 15 |
602 | 16 <table id="changesetEntry"> |
138 | 17 <tr> |
602 | 18 <th class="changeset">changeset #rev#:</th> |
19 <td class="changeset"><a href="?cmd=changeset;node=#node#">#node|short#</a></td> | |
20 </tr> | |
570
2ee819a950aa
[PATCH 2/5]: cleaning the template parent management in hgweb
mpm@selenic.com
parents:
568
diff
changeset
|
21 #parent# |
568 | 22 #changesettag# |
138 | 23 <tr> |
602 | 24 <th class="manifest">manifest:</th> |
25 <td class="manifest"><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest|short#</a></td> | |
26 </tr> | |
138 | 27 <tr> |
602 | 28 <th class="author">author:</th> |
29 <td class="author">#author|obfuscate#</td> | |
30 </tr> | |
138 | 31 <tr> |
602 | 32 <th class="date">date:</th> |
33 <td class="date">#date|date# (#date|age# ago)</td></tr> | |
138 | 34 <tr> |
602 | 35 <th class="files">files:</th> |
36 <td class="files">#files#</td></tr> | |
138 | 37 <tr> |
602 | 38 <th class="description">description:</th> |
39 <td class="description">#desc|escape|addbreaks#</td> | |
40 </tr> | |
138 | 41 </table> |
42 | |
672
dbe0ce2ae196
More IE friendly diff output related templates.
Edouard Gomez <ed.gomez@free.fr>
parents:
602
diff
changeset
|
43 <div id="changesetDiff"> |
138 | 44 #diff# |
602 | 45 </div> |
138 | 46 |
47 </body> | |
602 | 48 </html> |
138 | 49 |
50 |