annotate templates/tags.tmpl @ 2549:e1831f06eef1

Added ability to clone from a local repository to a (new) remote one. Rearranged the clone command a good bit to make sure it validates that the source does exist and that the destination doesn't before doing anything. Before I moved the source repo check it would create the destination repository before it verified the source existed. Moved the responsibility for creating the destination repo root directory entirly into the localrepo class so that local to local cloning doesn't break. This also simplifies the code a bit since it's no longer being done in both clone and init. Changed the names of the 'repo' and 'other' variables to 'dest_repo' and 'src_repo' to maintain my sanity. Passes 82/83 tests. The only failure is the version number test, which I suspect is supposed to fail since it comes from a generated file.
author Sean Meiners <sean.meiners@linspire.com>
date Fri, 30 Jun 2006 19:24:02 -0700
parents f79afc26ae3b
children 46b19175fec6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
1 #header#
1549
fbe4bbd847e5 Always escape repository name in hgweb, very important in notfound.tmpl.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1419
diff changeset
2 <title>#repo|escape#: tags</title>
1768
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
3 <link rel="alternate" type="application/rss+xml"
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
4 href="?cmd=tags;style=rss" title="RSS feed for #repo|escape#: tags">
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
5 </head>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
6 <body>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
7
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
8 <div class="buttons">
1419
22041f754f4a hgweb: fix broken tags->changelog link
Matt Mackall <mpm@selenic.com>
parents: 1410
diff changeset
9 <a href="?cl=tip">changelog</a>
1410
17703aa4491e hgweb: shorten all the URLs in the standard templates
Matt Mackall <mpm@selenic.com>
parents: 981
diff changeset
10 <a href="?mf=#manifest|short#;path=/">manifest</a>
1768
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
11 <a type="application/rss+xml" href="?cmd=tags;style=rss">rss</a>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
12 </div>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
13
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
14 <h2>tags:</h2>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
15
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
16 <ul id="tagEntries">
974
aedb47764f29 Added support for #foo%bar# syntax
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 586
diff changeset
17 #entries%tagentry#
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
18 </ul>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
19
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
20 #footer#