SVN commit doesn't complete

23,945

Check whether any post-commit hook script is processing your commits.

Share:
23,945
tomRedox
Author by

tomRedox

Director and tech evangelist at Redox Software. In my spare time I'm coding or on my bike.

Updated on July 09, 2022

Comments

  • tomRedox
    tomRedox almost 2 years

    When I commit files in svn I often get the situation where after it has transmitted all the files svn will hang and then eventually time out with the error svn: E175012: Connection timed out.

    This seems to happen when I am uploading more than say 20 files.

    I believe this is happening after all of the files have been transferred to the server as either new periods will have stopped being added after Transmitting file data in the console, or all of the files have been listed as sent in Tortoise. Also, if I then do an update from the repository I get merges for all of the files I've just tried to commit (or, more annoyingly, a ton of conflicts to resolve) and when I then go to commit again there is nothing to commit - presumably meaning all of the files were successfully transmitted the first time.

    What could be causing this? It seems like the client is waiting for a 'all done' message from the server that is never arriving back at my PC?

    Our set up is TortoiseSVN 1.8.2 on the client and VisualSVN Server 2.7 on the server.

    I've checked for error messages in VisualSVN's event log on the server and there aren't any. This happens on both the office network and over VPN, and whether working on Wi-Fi or a wired connection.

  • Krunal
    Krunal almost 10 years
    900 is a second? or something else!
  • Krunal
    Krunal almost 10 years
    Hi, okay, its seconds. Thanks for updating.
  • tomRedox
    tomRedox over 9 years
    The key bit of the answer turned out to be "check whether any post-commit hook script is processing your commits". I found an old BugTracker.net post commit hook on the server. Once I got rid of that the check in stopped pausing after the last file and hasn't failed to complete a commit since. (Apologies for the year delay in confirming this)
  • Murphy
    Murphy over 7 years
    The same here; after removing all legacy hooks the commit worked fine for a large fileset.