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

Re: Can't commit to server when repository is name in Chinese.

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Mon, 17 Aug 2009 03:16:08 -0500

Remember to send your responses to the mailing list as well, by using
the Reply All feature in your email program.

I reformatted your reply so it was easier to read. Please see below
for my answers.

On Aug 17, 2009, at 02:33, 春燕 wrote:

> 在2009-08-05,"Ryan Schmidt" 写道:
>
>> On Aug 4, 2009, at 01:16, 春燕 wrote:
>>
>>> I made a repository named in Chinese.
>>
>> What's the repository name?
>
> The repository name is HY-平台.

Ok, I tried to reproduce your issue here on my Mac OS X Tiger system
with Subversion 1.6.4 and Apache 2.2.11. I don't know how to enter
UTF-8 characters into the Terminal, so I typed "svnadmin create foo"
and then renamed it to "HY-平台" in the Mac OS X Finder. I have
SVNListParentPath turned on in my Apache configuration, so I then
looked at the repository list in a web browser to discover what the
URL encoding of those UTF-8 characters would turn out to be, which on
my HFS+ disk was HY-%e5%b9%b3%e5%8f%b0. I tried to check out a
working copy from the URL, but it failed:

$ svn co http://myserver/HY-%e5%b9%b3%e5%8f%b0 testing
svn: Unusable URI: it does not refer to this repository

So I can't even get as far as you can with this.

It seems there are some problems with repository names that contain
non-ASCII characters. Who knows how long it will take to identify and
fix those issues, so my recommendation to you for now is to use only
ASCII characters in your repository names, inconvenient though I
realize that could be for non-English languages.

>>> I can't commit modifies When I am not administrator.
>>
>> What error do you get?
>
> I forgot.

If you'd like someone to look into this, you should try it again and
tell us the error message you get.

>> What command did you type to see that error?
>
> commit

Presumably "svn commit", right? Does every commit fail or only
certain files? Does it matter what the names of the files are that
you're committing -- have you tried both ASCII and non-ASCII
characters in the filenames?

>> You said you can't commit... but you can check out ok?
>
> OK
>
>> What OS is the server on?
>
> Windows XP
>
>> What OS is the client on?
>
> Administrator

Ok, the server computer is running Windows XP? What operating system
is the client computer running? Also Windows XP? Or are they the same
computer?

>> What versions of Subversion are on both?
>
> 1.6.3
>
> I used Apache2.2.x and authorization access. I set global access as
> read and authority user as rw. I can check out, but can't commit.

What version of Apache 2.2?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2384243

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-17 10:17:17 CEST

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

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