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

RE: svn: MERGE of '/svn/<RepositoryName>/shelvesets': 409 Conflict (<ServerName>)

From: Kriv, Larry (HC Product Technology) <larry.kriv_at_hp.com>
Date: Fri, 8 Jan 2010 14:44:46 +0000

Johan,

Thanks for your response. The double-slashes seem to be an artifact of a cut-paste out of an IM session log. Looking at the actual error, there are only single slashes there.

I am attempting to narrow down where in the hook there error is springing from before I send you any snippets.

Larry

Larry Kriv
Configuration Management
Healthcare Product Technology
HP Enterprise Services
Telephone +1 972.605.2654
Email larry.kriv_at_hp.com
5400 Legacy Drive, H1-5D-82 / Plano, TX 75024

-----Original Message-----
From: Johan Corveleyn [mailto:jcorvel_at_gmail.com]
Sent: Friday, January 08, 2010 6:12 AM
To: Kriv, Larry (HC Product Technology)
Cc: users_at_subversion.apache.org; Buczkowski, Joel
Subject: Re: svn: MERGE of '/svn/<RepositoryName>/shelvesets': 409 Conflict (<ServerName>)

On Thu, Jan 7, 2010 at 11:47 PM, Kriv, Larry (HC Product Technology)
<larry.kriv_at_hp.com> wrote:
>
> OS:  Windows Server 2003 R2.  Client Server: Windows XP Professional 2002, SP 2
> SVN version 1.6.3, File System repository structure
> Built custom pre- and post-commit hooks, which make various svn calls to examine transaction, allow the commit, then examing the revision to extract information for future use.
> The version of Berkeley DB you're running Subversion with, if any
> Using variouse IDEs with client plug-ins such as TortoiseSVN, JDeveloper 11g, Eclipse, etc.  All of these IDEs support SVN 1.6.
>
> We have several repositories that have been running under VisualSVN Server Manager 2.0.4 since October 2009.  Multiple users have been accessing this repository without any major issues.
> Yesterday, I, as Subversion Administrator, attempted to create a new folder using Tortoise SVN 1.6.6.  I was not able to do so, receiving a 403 error.  After several other administrators
> received the same error, we restarted the SVN server, then the server box itself.  Now we are receiving the following message when we try to create a new folder:
>
> org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: Commit blocked by pre-commit hook (exit code 123) with output:
> The filename, directory name, or volume label syntax is incorrect.
> svn: MERGE of '/svn/<RepositoryName>/shelvesets': 409 Conflict (<ServerName>)
>         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:2310)
>         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:896)
>         at oracle.jdevimpl.vcs.svn.op.SVNOperationNewRemoteDir$NewRemoteDirTask.executeMkdirWithProgress(SVNOperationNewRemoteDir.java:342)
>         at oracle.jdevimpl.vcs.svn.op.SVNOperationNewRemoteDir$NewRemoteDirTask.run(SVNOperationNewRemoteDir.java:223)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: org.tigris.subversion.javahl.ClientException: svn: Commit blocked by pre-commit hook (exit code 123) with output:
> The filename, directory name, or volume label syntax is incorrect.
> svn: MERGE of '/svn//<RepositoryName>//shelvesets': 409 Conflict (<ServerName>)
>         at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
>         at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
>         at org.tmatesoft.svn.core.javahl.SVNClientImpl.mkdir(SVNClientImpl.java:836)
>         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:2307)
>         ... 4 more
> Caused by: org.tmatesoft.svn.core.SVNException: svn: Commit blocked by pre-commit hook (exit code 123) with output:
> The filename, directory name, or volume label syntax is incorrect.
> svn: MERGE of '/svn//<RepositoryName>//shelvesets': 409 Conflict (<ServerName>)
>         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
>         at org.tmatesoft.svn.core.internal.io.dav.DAVCommitEditor.closeEdit(DAVCommitEditor.java:373)
>         at org.tmatesoft.svn.core.wc.SVNCommitClient.doMkDir(SVNCommitClient.java:480)
>         at org.tmatesoft.svn.core.javahl.SVNClientImpl.mkdir(SVNClientImpl.java:834)
>         ... 5 more
>
>
> When we commented out the calls within the pre- and post-commit cmd files, we were able to create the folders without a problem.
>
> To our knowledge, nothing has changed on the server, including the pre- and post-commit hooks, which have been operating for months without a problem.
>
> Please note, the names of the server and repository have been redacted for security reasons,.

I don't recognize that particular error, but it looks like your
pre-commit hook encounters an error while it is contacting the svn
server itself (through Java with javahl). Probably while it is doing
"various svn calls to examine transaction, allow the commit, then
examing the revision to extract information for future use".

The double slashes in the path in "MERGE of
'/svn//<RepositoryName>//shelvesets': 409 Conflict" look suspicious,
but I don't know whether they are really the cause of the error. But
since we don't know your pre-commit hook, we don't know where those
double slashes come from. They could be coming from the client, or
they could be created by your pre-commit hook, during some regex
munging of the path or something like that ...

Could you share (part of) the source of your pre-commit hook (and the
underlying (java) source it executes), redacted if needed?

Regards,
Johan
Received on 2010-01-08 15:46:27 CET

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.