Staging
v0.5.1
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
History
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
File Mode Size
source
README.Debian -rw-r--r-- 210 bytes
changelog -rw-r--r-- 5.7 KB
compat -rw-r--r-- 2 bytes
control -rw-r--r-- 2.1 KB
copyright -rw-r--r-- 1.1 KB
hgview-common.install -rw-r--r-- 149 bytes
hgview-curses.install -rw-r--r-- 44 bytes
hgview.install -rw-r--r-- 41 bytes
rules -rwxr-xr-x 1.5 KB
watch -rw-r--r-- 74 bytes

README.Debian

back to top