[issue727] hg qpush fails under cygwin due to flick lineendings

AlexRayne mercurial-bugs at selenic.com
Wed Sep 5 11:48:00 CDT 2007

New submission from AlexRayne <AlexRainPE196 at newmail.ru>:

Hallow all!
i have a patch produced by hg qrefresh invoked in windows cmd
this patch contain delta of text with win lineendings

i tryed to apply this patch by hg qpush invoked in cygwin bash
qpush was failed rejecting all hunks. and after this, file wich have to 
be patched, contain instead windows lineendings unix lineendings.

hg qpush on same patch was successful when invoked under windows

look like hg convert lineendings in file ,to be patched, before applying patch
and forgot to change it back after fail.

(the lineending style problem was spoted also in task 679)

messages: 3967
nosy: AlexRayne
priority: bug
status: unread
title: hg qpush fails under cygwin due to flick lineendings
topic: diff, mq, patch

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list