Extended (Git) diff output for changeset diffs in Hgweb?
Stephen Lee
sphen.lee at gmail.com
Fri Jun 20 12:19:31 UTC 2014
On 20 Jun 2014 12:35, "Lawrence Stewart" <lstewart at room52.net> wrote:
> Hi all,
>
> Is there a way to make Hgweb use extended diff format when displaying
> changeset diffs? Changesets which change file permissions for example
> show up as empty when viewed in Hgweb, but "diff -g -r <rev_hash>" on
> the command line shows the permissions change.
>
> I tried various combinations to no avail of adding the following to the
> hgweb.conf and repo's hgrc files:
>
> [diff]
> git = True
>
>
>
I had a patch to do this... I might be able to drag it out...
The only complication was that I needed to also disable showing binary
diffs.
We had several changesets with many large binary diffs and seeing a hex
blob in the browser is not very useful.
It also had a tendency to kill either the server or the browser if the
files were big enough.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140620/6881bd91/attachment-0002.html>
More information about the Mercurial
mailing list