keyword: support mq; handle (q)record more gracefully
mq:
Ensure that expanded keywords do not make it into patches.
- disable expansion when reading filelog
- shrink expanded keywords when reading from working dir (wread)
(q)record:
Avoid additional hunks due to expanded keywords. However this is
still a compromise, as keyword expansions are not updated in
working directory because record should not overwrite files.
Mention above shortcomings and "hg kwexpand" workaround in help
and update test output.
system argument parsing:
Command detection might be slightly more expensive with
dispatch._parse, but we will need this for improving "hg diff"
output.
#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>
</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#/#file|urlescape#{sessionvars%urlparameter}">file</a>
<a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a>
<a type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a>
<a type="application/atom+xml" href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">atom</a>
</div>
<h2>#file|escape# revision history</h2>
<p>navigate: <small class="navigate">{nav%filenaventry}</small></p>
#entries%filelogentry#
#footer#