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
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
MANIFEST.in
exclude .hgignore
recursive-exclude debian *
recursive-exclude test *
recursive-exclude debian.hardy *
recursive-exclude debian.lenny *
recursive-exclude debian.intrepid *

include ChangeLog
include COPYING
include README

include bin/hgview
include bin/hgview.bat

include hgviewlib/qt4/*.ui
include hgviewlib/qt4/*.py
include hgviewlib/qt4/hgqv.qrc
include hgviewlib/qt4/icons/*

include hgviewlib/curses/*.py

include doc/hgview.1.txt
include doc/Makefile
include hgext/hgview.py

include hgext/hgview.rc
include doc/hgqv.1
include setup.py
include __pkginfo__.py
include test/data/hgviewrc
include test/data/.hgviewrc


recursive-include etc *
back to top