contrib/hgfixes/__init__.py
author Patrick Mezard <patrick@mezard.eu>
Fri, 20 Apr 2012 19:11:54 +0200
branchstable
changeset 16475 1f75c1decdeb
parent 11948 88d4911930bf
permissions -rw-r--r--
patch: be more tolerant with "Parent" header (issue3356) Here is how export and mq write the "Parent" header: mq: # Parent XXXXX export: # Parent XXXXX then import expects exactly 2 spaces while mq tolerates one or more. So "hg import --exact" truncates mq generated patches header by one character and fails. This patch aligns import "Parent" header parsing on mq one. I do not expect spaces in parent references anytime soon. Reported by Stefan Ring <stefanrin@gmail.com>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: