[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] bug – subclipse convert LF to CRLF during patch applying

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-04-04 14:57:43 CEST

Darek Zbik <d.zbik@softwaremind.pl> wrote on 04/04/2006 06:21:54 AM:

> If you have a project with Unix line delimiters from SVN repository and
> apply a patch subclipse change file format to CRLF line delimiters. To
> reproduce bug try:
>
> 1) checkout any SVN repository (files with LF line delimiter), create a
> project
> 2) open any file, make some changes
> 3) create a patch using team->create patch save this patch to a file
> 4) remove changes made in file in step 2 (or simply revert)
> 5) apply patch created in step 3, in this time line delimiters in file
> will change
> 6) try to create a patch again, patch contains whole file repeated 2
> times with + and – characters
>
> Platform: windows/XP
> Sublipse version 0.9.108
> Eclipse version Version: 3.1.1 (Build id: M20050929-0840)
> Tested with JavaHL and JavaSVN

AFAIK, the Apply Patch process is an Eclipse option. Subclipse does not
do anything to provide this option. Subclipse just supplies the create
patch option which essentially just runs the svn diff command to do so.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Tue Apr 4 14:58:06 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.