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

Re: Obnoxious bug re: 'svn propedit'

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-09-28 07:35:48 CEST

Derek Foster wrote:

>Hi, folks.
>
>I've been experiencing this bug for quite a while, hoping that somebody
>would notice something so obvious and fix it. Apparently over the last
>several releases this hasn't happened, though, so I've finally gotten around
>to reporting it myself. If this isn't the right place, please let me know
>what I need to do to get it on the "should be fixed" list.
>
>This bug probably only occurs on Windows systems.
>
>In particular, I have my SVN_EDITOR environment variable set to the path of
>Notepad.exe.
>
>The main issue is that when I do something like:
>
>svn propedit svn:ignore .
>
>and then enter a bunch of strings to ignore, such as:
>
>build
>dist
>myTempFiles
>
>and then I later try to edit the text on the same file, using:
>
>svn propedit svn:ignore .
>
>I get something like:
>
>builddistmyTempFiles
>
>This is apparently because although the file that I *wrote* had MS-DOS
>linefeeds, the file that I READ now has Unix linefeeds, which Windows
>Notepad can't handle. I therefore usually have to manually regenerate the
>list from scratch (usually in order to add a single entry to it).
>
>It seems to me that Subversion could follow either of two strategies
>successfully:
>
>* When propedit is done the first time, convert the file to unix linefeeds
>to store it, and then convert it back to MS-DOS linefeeds (or whatever the
>client system uses as linefeeds) when retrieving it for the second time.
>
>
This is what Subversion _should_ be doing. If it's not, that's a bug. As
a matter of interest, did you commit the propchange between the two edits?

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 28 07:38:10 2004

This is an archived mail posted to the Subversion Dev mailing list.

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