6

In VisualSVN Server, I am using a post-commit hook to move files from a directory in the Subversion repository to the proper directory on the file system. I am getting the error shown below.

Error:

post-commit hook failed (exit code 1) with output: svn: Unable to make name for 'D:\websites\mywebsite.com\tempfile'

I am using TortoiseSVN to commit the files. I am able to do this just fine with other projects, I don't see a file called tempfile in the directory structure of my local copy or repository, tried clean up and update commands with no success. Any ideas? Thanks.

2
  • Weird. Have you read/tried this? blog.grovehillsoftware.com/2009/09/… Commented Apr 6, 2011 at 20:13
  • Yeah, Following the post, I tried moving the entries file out of the .svn folder, running an update, then putting it back. No luck. I didn't see "incomplete" in the entries file like he did. Commented Apr 6, 2011 at 20:38

2 Answers 2

11

Turns out it was a permissions issue. This is how I fixed it, so hopefully it will help others.

  • Right-click the folder and select Properties
  • Select the Security tab
  • Add Network Service
  • Check the boxes to allow Modify, Read & Execute, List Folder Contents, Read, Write permissions
Sign up to request clarification or add additional context in comments.

Comments

1

I had this same error, but from RubyMine (problem also could probably happen in Intellij IDEA). The solution to me was to start RubyMine as administrator (right click on the icon and choose "Run as Administrator"). Problem went away.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.