Staging
v0.5.0
https://foss.heptapod.net/mercurial/hgview
Revision 1077af07133290b7c141c01d1207b98e19bedd05 authored by Alain Leufroy on 14 March 2013, 12:58:38 UTC, committed by Alain Leufroy on 14 March 2013, 12:58:38 UTC
problem:

  HgView removes the header of the displayed diff assuming that the
  content data starts this ``os.linesep+'@@'``. But the newline chars
  may be different from the system linesep. By this way the entire
  diff is interpreted as the header resulting into an empty diff body.

solution:

  Use a more clever text-matching tool ``re`` with the pattern
  ``^@@.*@@$`` which correspond to a hunk header --- the first hunk
  corresponds to the end of the diff header.
1 parent c265070
Raw File
Tip revision: 1077af07133290b7c141c01d1207b98e19bedd05 authored by Alain Leufroy on 14 March 2013, 12:58:38 UTC
[lib] file diff: fix missing diff (closes #122649)
Tip revision: 1077af0
debian.natty
debian.squeeze
back to top