Mac OSX Subversion with an SMB repository (again)

I just applied the Mac OSX 10.4.6 update, hoping that it would solve my problems viz a viz committing changes to an SMB-based subversion repository. Alas, I still have the same trouble with svn commit. In addition, the new update undid scplugin’s changes to Finder which indicate a file’s svn status (e.g. current, newer working copy, etc). I guess that’s not such a big deal, since the svn status is useless without the ability to commit my changes. 🙁

Version 1.3.1 of svn came out a day or two ago, so let’s see if that does the trick.
Downloading Mac binary svn client v1.3.1

515$ svn --version
svn, version 1.3.1 (r19032)
compiled Apr 4 2006, 00:30:54

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme

516$ svn commit -m 'Changed script to be user-independent' my_script
subversion/libsvn_client/commit.c:873: (apr_err=5)
svn: Commit failed (details follow):
subversion/libsvn_subr/io.c:2199: (apr_err=5)
svn: Can't write to file '/Volumes/svn/grading_system/db/transactions/4-7.txn/rev': Input/output error


Oh well, I guess it’s time to try the (old) patch for SMB access, which means building Subversion from source. Darwin ports collection, here I come!

About Jim Vanderveen

I'm a bit of a Renaissance man, with far too many hobbies for my free time! But more important than any hobby is my family. My proudest accomplishment has been raising some great kids! And somehow convincing my wife to put up with me since 1988. ;)
This entry was posted in Mac OS X, Uncategorized and tagged , . Bookmark the permalink.

6 Responses to Mac OSX Subversion with an SMB repository (again)

  1. Ed says:


    Thank goodness someone else is having this problem!

    What is the “(old) patch for SMB access” that you are using?



  2. Marysia says:

    Yesterday I installed svn and tried to commit to a repository on winxp (via smb).
    Got the exact same error. Tried a thousand things. Went mad. 🙁
    Pleeeaaase help me.
    (Can not believe we’re the only ones with that problem)
    btw of course the folder on winxp was write enabled!

  3. Jason says:

    I was wondering what this smb patch entails? We are having some of the same problems and would love to fix this.

  4. Pingback: SonicChicken weblog » Blog Archive » SMB file sharing doesn’t support Subversion on Mac OS X

  5. jim says:

    Please see this comment for links to the patch(es). Thanks, Jason!

    I’ve emailed Ed about this, but Marysia left a bogus address. 😐

  6. Brian Wells says:

    I’ve written a new blog entry on using Subversion with SMB repositories:

    Hope it is helpful to some of you. 🙂

    – Brian Wells

Leave a Reply

Your email address will not be published. Required fields are marked *