Dump filter correcting EOL style

2011-04-22 Thread Stanimir Stamenkov
Is anyone aware of repository dump filter [1] which corrects the EOL style of files, by initializing their svn:eol-style property in their first revision according to the [auto-props] section [2], and then correcting the EOL style in their content according to the svn:eol-style value? I've goo

Re: Dump filter correcting EOL style

2011-04-22 Thread Daniel Shahaf
Stanimir Stamenkov wrote on Fri, Apr 22, 2011 at 14:36:53 +0300: > Is anyone aware of repository dump filter [1] which corrects the EOL Not me, but sounds like a one-off patch (to the "Create a new file" logics of 'load' or 'svnsync') could do this pretty easily. (Insert here quote about, given a

Re: Dump filter correcting EOL style

2011-04-22 Thread Stanimir Stamenkov
Fri, 22 Apr 2011 15:29:04 +0300, /Daniel Shahaf/: Stanimir Stamenkov wrote on Fri, Apr 22, 2011 at 14:36:53 +0300: Is anyone aware of repository dump filter [1] which corrects the EOL Not me, but sounds like a one-off patch (to the "Create a new file" logics of 'load' or 'svnsync') could do t

Re: Dump filter correcting EOL style

2011-04-22 Thread Daniel Shahaf
Stanimir Stamenkov wrote on Fri, Apr 22, 2011 at 15:59:17 +0300: > Fri, 22 Apr 2011 15:29:04 +0300, /Daniel Shahaf/: > >Stanimir Stamenkov wrote on Fri, Apr 22, 2011 at 14:36:53 +0300: > > > >>Is anyone aware of repository dump filter [1] which corrects the EOL > > > >Not me, but sounds like a one-

Re: Dump filter correcting EOL style

2011-04-22 Thread Stanimir Stamenkov
Fri, 22 Apr 2011 16:21:39 +0300, /Daniel Shahaf/: So I'd go for svnsync; it has access to the full 'original' history, which 'svnadmin load' hasn't. It should be possible to patch svnsync into generating the correct text-deltas for files whose properties have been mangled --- for example, if yo

Re: Dump filter correcting EOL style

2011-04-22 Thread Ryan Schmidt
On Apr 22, 2011, at 06:36, Stanimir Stamenkov wrote: > Is anyone aware of repository dump filter [1] which corrects the EOL style of > files, by initializing their svn:eol-style property in their first revision > according to the [auto-props] section [2], and then correcting the EOL style > in

Re: Dump filter correcting EOL style

2011-04-22 Thread Stanimir Stamenkov
Fri, 22 Apr 2011 19:12:15 -0500, /Ryan Schmidt/: On Apr 22, 2011, at 06:36, Stanimir Stamenkov wrote: Is anyone aware of repository dump filter [1] which corrects the EOL style of files, by initializing their svn:eol-style property in their first revision according to the [auto-props] section

Re: Dump filter correcting EOL style

2011-04-23 Thread Stanimir Stamenkov
Sat, 23 Apr 2011 05:51:54 +0300, /Stanimir Stamenkov/: Fri, 22 Apr 2011 19:12:15 -0500, /Ryan Schmidt/: I'm not sure if it exactly addresses everything you want, but have you looked into svndumptool, specifically its "eolfix" command? http://svn.borg.ch/svndumptool/ Thanks for giving the ref