Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-18 Thread Daniel Shahaf
Ryan Schmidt wrote on Thu, 18 Mar 2010 at 05:33 -0500: > If your hostname is not UTF-8, how is Subversion to know what > character encoding it's using? It seems to me it's a bug (of your OS) > to present a non-UTF-8 string (or possibly even a non-ASCII string) as > a valid hostname. We get the hos

Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-18 Thread Dmitry Savvateev
hostname is irrelevant for those not using their PCs as servers (like me). I've been using this computer (with this hostname) for about a year without any problems. It was used for Internet access, but only client side. AFAIK, Windows has a notion of "ansi" encoding, which is a single-byte encodin

Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-18 Thread Ryan Schmidt
On Mar 18, 2010, at 03:47, Dmitry Savvateev wrote: > Yes, indeed, the host name contained cyrillics. I changed it, and the > problem disappeared. > > I think, the host name was automatically generated by the system > (sounded like "user-pc" in Russian). That means the problem may be > rather com

Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-18 Thread Dmitry Savvateev
Yes, indeed, the host name contained cyrillics. I changed it, and the problem disappeared. I think, the host name was automatically generated by the system (sounded like "user-pc" in Russian). That means the problem may be rather common, and it makes sense to encode hostname in UTF-8 before using

Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-17 Thread Daniel Shahaf
svn:sync-lock is set by svnsync as follows: apr_err = apr_gethostname(hostname_str, sizeof(hostname_str), pool); ... mylocktoken = svn_string_createf(pool, "%s:%s", hostname_str, svn_uuid_generate(pool)); ... /* Except in the very last iteration, tr

Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-17 Thread Dmitry Savvateev
Yes, I know that, but svn:sync-lock is a system property added by svnsync during synchronization, to keep the target repository locked. How do I re-encode it? 2010/3/17 Ryan Schmidt : > On Mar 17, 2010, at 00:08, Dmitry Savvateev wrote: > >> I've ran into the following problem with svnsync on Wind

Re: Cannot accept 'svn:sync-lock' property because it is not encoded in UTF-8

2010-03-16 Thread Ryan Schmidt
On Mar 17, 2010, at 00:08, Dmitry Savvateev wrote: > I've ran into the following problem with svnsync on Windows Vista. > I'm trying to mirror a repository from my flash drive to the local > disk, and keep getting the following message: > > svnsync: Cannot accept 'svn:sync-lock' property because