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
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
bin
debian
debian.squeeze
doc
hgext
hgviewlib
.hgignore -rw-r--r-- 49 bytes
.hgtags -rw-r--r-- 2.1 KB
COPYING -rw-r--r-- 17.6 KB
ChangeLog -rw-r--r-- 5.7 KB
MANIFEST.in -rw-r--r-- 648 bytes
README -rw-r--r-- 1.7 KB
__pkginfo__.py l--------- 24 bytes
debian.maverick l--------- 14 bytes
debian.natty l--------- 14 bytes
setup.py -rw-r--r-- 13.5 KB

README

back to top