##// END OF EJS Templates
subrepo: better error messages in _ensuregit...
subrepo: better error messages in _ensuregit This patch improves the error messages raised when an OSError occurs, since simply re-raising the exception can be both confusing and misleading. For example, if "hg identify" is run inside a repository that contains a Git subrepository and the git binary could not be found, it'll exit with the message "abort: No such file or directory". That implies "identify" has a problem reading the repository itself. There's no way for the user to know what the real problem is unless they dive into the Mercurial source, which is what I ended up doing after spending hours debugging errors while provisioning a VM with Ansible (turns out I forgot to install Git on it). Descriptive errors are especially important on Windows, since it's common for Windows users to forget to set the "Path" system variable after installing Git.

File last commit:

r18045:add2f9dd default
r27935:594bdc38 stable
Show More
branches.tmpl
6 lines | 158 B | application/x-cheetah | CheetahLexer
Angel Ezquerra
hgweb: add branches RSS and Atom feeds...
r18045 {header}
<title>{repo|escape}: branches</title>
<description>{repo|escape} branch history</description>
{entries%branchentry}
</channel>
</rss>