Mercurial > hg > mercurial-crew-with-dirclash
view templates/shortlog.tmpl @ 4230:c93562fb12cc
Fix handling of paths when run outside the repo.
The main problem was that dirstate.getcwd() returned just "",
which was interpreted as "we're at the repo root". It now returns
an absolute path.
The util.pathto function was also changed to deal with the "cwd is
an absolute path" case.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 16 Mar 2007 00:22:58 -0300 |
parents | ce8f31e0b3b8 |
children | 46c5e1ee8aaa |
line wrap: on
line source
#header# <title>#repo|escape#: shortlog</title> <link rel="alternate" type="application/rss+xml" href="#url#rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="buttons"> <a href="#url#log/#rev#{sessionvars%urlparameter}">changelog</a> <a href="#url#tags{sessionvars%urlparameter}">tags</a> <a href="#url#file/#node|short#/{sessionvars%urlparameter}">manifest</a> #archives%archiveentry# <a type="application/rss+xml" href="#url#rss-log">rss</a> </div> <h2>shortlog for #repo|escape#</h2> <form action="#url#log"> {sessionvars%hiddenformentry} <p> <label for="search1">search:</label> <input name="rev" id="search1" type="text" size="30"> navigate: <small class="navigate">#changenav%navshortentry#</small> </p> </form> #entries%shortlogentry# <form action="#url#log"> {sessionvars%hiddenformentry} <p> <label for="search2">search:</label> <input name="rev" id="search2" type="text" size="30"> navigate: <small class="navigate">#changenav%navshortentry#</small> </p> </form> #footer#