Mercurial > hg
view mercurial/templates/paper/filelog.tmpl @ 15548:f76584098c88 stable
largefiles: fix 'hg clone . ../foo' OSError abort
Operating on a non-existant file can cause both IOError and OSError,
depending on the function used: open raises IOError, os.lstat raises
OSError.
The largefiles code called dirstate.normal, which in turn calls
os.lstat, so OSError is the right exception to catch here.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 22 Nov 2011 17:51:43 +0100 |
parents | 44382887d012 |
children | 1ae119269ddc |
line wrap: on
line source
{header} <title>{repo|escape}: {file|escape} history</title> <link rel="alternate" type="application/atom+xml" href="{url}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}" /> <link rel="alternate" type="application/rss+xml" href="{url}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}" /> </head> <body> <div class="container"> <div class="menu"> <div class="logo"> <a href="{logourl}"> <img src="{staticurl}{logoimg}" alt="mercurial" /></a> </div> <ul> <li><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">log</a></li> <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> </ul> <ul> <li><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li> <li><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">browse</a></li> </ul> <ul> <li><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a></li> <li><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a></li> <li><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a></li> <li class="active">file log</li> <li><a href="{url}raw-file/{node|short}/{file|urlescape}">raw</a></li> </ul> <ul> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <div class="main"> <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2> <h3>log {file|escape}</h3> <form class="search" action="{url}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> <a href="{url}log/{node|short}/{file|urlescape}{lessvars%urlparameter}">less</a> <a href="{url}log/{node|short}/{file|urlescape}{morevars%urlparameter}">more</a> | {nav%filenav}</div> <table class="bigtable"> <tr> <th class="age">age</th> <th class="author">author</th> <th class="description">description</th> </tr> {entries%filelogentry} </table> <div class="navigate"> <a href="{url}log/{node|short}/{file|urlescape}{lessvars%urlparameter}">less</a> <a href="{url}log/{node|short}/{file|urlescape}{morevars%urlparameter}">more</a> | {nav%filenav} </div> </div> </div> {footer}