Re: Disabling automatic setting of svn:executable property

2011-05-30 Thread Nico Kadel-Garcia
On Mon, May 30, 2011 at 2:26 AM, Markus Schaber wrote: > Oh, sorry, I just read that someone else posted the same suggestion. > > Sorry for the duplication. > > Regards, > Markus There's a potential risk with the approach: CygWin uses UNIX compatible end-of-line characters. TortoiseSVN, and other

Re: Disabling automatic setting of svn:executable property

2011-05-30 Thread Ryan Schmidt
On May 30, 2011, at 11:26, Nico Kadel-Garcia wrote: > There's a potential risk with the approach: CygWin uses UNIX > compatible end-of-line characters. TortoiseSVN, and other Windows > based clients, use Windows end-of-line. The result can be *CHAOS* if > you typically set source files, such as .

svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Torsten Krah
I want to load a repository with a fresh dump and did: svnadmin -q dump /repo1 | svnadmin load /repo2 This is the error i get: svnadmin: Path 'Projektprofile/EMS(Newsletter, Infomails, ?\192?\166).doc' is not in UTF-8 How to fix this error - i am unable to load the dump in a new repository? Wh

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Torsten Krah
Some more infos about those problem: svnadmin verify tells me the revision in question is ok in the source repo. Using vim to view the revision dump show those 2 utf-8 chars at the end of the path which i guess are making trouble: Projektprofile/EMS(Newsletter, Infomails, À¦).doc Maybe someone g

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Daniel Shahaf
1.6 checks that paths are in UTF-8 at the time they enter the repository. This was always required but not always enforced. Solution is to recode the pathnames (those that are neither in ASCII nor in UTF-8). If none of the third-party dump manipulation tools can do that, then you could patch svn

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Torsten Krah
Am Dienstag, den 31.05.2011, 00:30 +0300 schrieb Daniel Shahaf: > 1.6 checks that paths are in UTF-8 at the time they enter the > repository. This was always required but not always enforced. Ok - so 1.6 does things <1.6 did not but should. > > Solution is to recode the pathnames (those that ar

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Stefan Sperling
On Tue, May 31, 2011 at 12:30:54AM +0300, Daniel Shahaf wrote: > 1.6 checks that paths are in UTF-8 at the time they enter the > repository. This was always required but not always enforced. > > Solution is to recode the pathnames (those that are neither in ASCII nor > in UTF-8). Yes, that's wha

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Torsten Krah
> I would try to edit the dump file with a hexeditor and replace the > offending two bytes with two spaces (or the proper UTF-8 character > if you know what should be there and the UTF-8 sequence has the same > number of bytes). Ok, lets take some hex editor and get rid of those bad sequences. >

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Stefan Sperling
On Mon, May 30, 2011 at 11:47:30PM +0200, Torsten Krah wrote: > If <1.6 did not enforce this and 1.6 does - why does 1.6 not recode it > at the time it does encounter such "things" - at least via some optional > command line option? I think that is something we should add, yes. We should also make

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Daniel Shahaf
Torsten Krah wrote on Mon, May 30, 2011 at 23:47:30 +0200: > Am Dienstag, den 31.05.2011, 00:30 +0300 schrieb Daniel Shahaf: > > Solution is to recode the pathnames (those that are neither in ASCII > > nor in UTF-8). > > Sorry but your "solution" seems really a little bit odd to me. > If <1.6 di

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Daniel Shahaf
Torsten Krah wrote on Mon, May 30, 2011 at 23:47:30 +0200: > Am Dienstag, den 31.05.2011, 00:30 +0300 schrieb Daniel Shahaf: > > then you could patch svnsync or one of those tools to do the > > recoding. (just inject a filename-recoding editor at the right place) > > Of cause i'll take the source

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Daniel Shahaf
> > Maybe Torsten would like to try this, but I doubt that modifying > > Subversion's code is the kind of advice he was looking for. > > You're right ;-) I was assuming that someone would point out a tool that does the recoding at some point in the next 24 hours, which would render this particula

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Daniel Shahaf
Stefan Sperling wrote on Tue, May 31, 2011 at 00:08:46 +0200: > On Mon, May 30, 2011 at 11:47:30PM +0200, Torsten Krah wrote: > > If <1.6 did not enforce this and 1.6 does - why does 1.6 not recode it > > at the time it does encounter such "things" - at least via some optional > > command line opti

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Stefan Sperling
On Tue, May 31, 2011 at 01:41:54AM +0300, Daniel Shahaf wrote: > How would you handle a repository that contains the following > nodes/fspaths: > > /foo/bår(in UTF-8) > /foo/bår(in latin1) > > ? > > > How would you handle a repository that contains: > /foo/barÉ (in latin1) > /foo/barŠ

Re: svnadmin: Path '....' is not in UTF-8 - svnadmin load fails

2011-05-30 Thread Daniel Shahaf
#define MBE multi-byte encoding #defien SBE single-byte encoding Stefan Sperling wrote on Tue, May 31, 2011 at 01:07:02 +0200: > On Tue, May 31, 2011 at 01:41:54AM +0300, Daniel Shahaf wrote: > > How would you handle a repository that contains the following > > nodes/fspaths: > > > > /foo/bår

Re: Disabling automatic setting of svn:executable property

2011-05-30 Thread Nico Kadel-Garcia
On Mon, May 30, 2011 at 2:43 PM, Ryan Schmidt wrote: > > On May 30, 2011, at 11:26, Nico Kadel-Garcia wrote: > >> There's a potential risk with the approach: CygWin uses UNIX >> compatible end-of-line characters. TortoiseSVN, and other Windows >> based clients, use Windows end-of-line. The result