Mercurial > hg-stable
view templates/search.tmpl @ 6107:41bb88cb913e
commands.revert: don't call hg.revert
commands.revert calculates everything that has to be done and then
calls hg.revert to checkout and remove files. Unfortunately,
hg.revert has to recalculate everything and that can take a long
while, since it always operates on the whole working dir.
Changing commands.revert to manually checkout and remove files
makes things considerably faster, especially if we're reverting
a single file in a repo with a huge number of files.
This should be enough to close issue857.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 14 Feb 2008 18:08:16 -0200 |
parents | 1196998c62e3 |
children | 673d8a6bc709 |
line wrap: on
line source
#header# <title>#repo|escape#: searching for #query|escape#</title> </head> <body> <div class="buttons"> <a href="#url#log{sessionvars%urlparameter}">changelog</a> <a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a> <a href="#url#tags{sessionvars%urlparameter}">tags</a> <a href="#url#file/#node|short#{sessionvars%urlparameter}">manifest</a> #archives%archiveentry# </div> <h2>searching for #query|escape#</h2> <form> {sessionvars%hiddenformentry} <p> search: <input name="rev" type="text" width="30" value="#query|escape#"> </p> </form> #entries# <form> {sessionvars%hiddenformentry} <p> search: <input name="rev" type="text" width="30" value="#query|escape#"> </p> </form> #footer#