getting extra \r introduced into html file when "> hg update" toit
Zorba
cr at altmore.co.uk
Sun Jan 4 20:17:52 CST 2009
I've done some further comparisons with previous versions, and it seems the
\r\r\n sequence was already present (0D, 0D, 0A in hex, or just plain old
CR,CR,LF) in these files, bizarre as it may seem.
My "control" or backup had only been copied 10mins before the commit, but
since then had been FTP'ed up to a website by Dreamweaver, and some files
were synched back down again, so they went through an FTP cycle which must
have introduced the changes.
I do remember having some connection problems, and maybe FTP software got a
bit confused and rather than abandon a download decided to play safe and
replace CR,CR,LF with CR,LF - worrying....
Apologies, also for the mult-posting - I really don't know whats causing
that. This PC is flat out, maybe some instabiltiy in my reader. Hope this
one makes it onto the right spike :-)
"Zorba" <cr at altmore.co.uk> wrote in message
news:gjrob5$t8r$1 at ger.gmane.org...
> sorry, its 0D 0A -> 0D 0D 0A
> (not 09 0A -> 09 09 0A)
>
>> I've committed some files to my repo, and then as a test, I've deleted
>> all files/folders in the working dir (excepting .hg and .hgignore of
>> course!) and run > hg update -C
>>
>> I've then compared what gets produced with a backup copy from before the
>> commit using a windows file/directory diff tool (ExamDiff Pro)
>>
>> Some text files look like they are being created with an extra \r char
>> when being >hg updated
>> i.e. where \r\n (hex 09 0A) was in the file originally, now we have
>> \r\r\n (hex 09 09 0A) !!
>>
>> I'm running hg v1.1.1 on windows.
>> I also have TortoiseHG 0.5 installed, but using the command line, which
>> is clearly the 1.1.1 version ( > hg version )
>>
>> This is screwing me up in some editors, but more importantly, the files I
>> versioned are not what I'm getting back !
>>
>> Anyone seen anything similar or have any ideas ?
>>
>>
>
>
>
More information about the Mercurial
mailing list