[issue3264] patch.py IndexError when applying patch
bugs at mercurial.selenic.com
Sun Feb 12 07:49:37 CST 2012
New submission from cheater <cheater00 at gmail.com>:
I noticed that patch.py crashes on applying a specific patch. This is most
easily discovered if you use hg crecord, and append some lines to the end of
the tracked file. It then creates a git format diff which kills mercurial.
This was tested with 1.4 which was on my Ubuntu 10.04 at the time and with
Attaching traceback to this comment. In this traceback I run hg cr, which
then creates a patch and tries to apply it.
title: patch.py IndexError when applying patch
topic: hg, patch
Mercurial issue tracker <bugs at mercurial.selenic.com>
More information about the Mercurial-devel