05
Sep
06

SMB file sharing doesn’t support Subversion on Mac OS X

I’ve received several queries about the SMB patch that I mentioned in my svn-on-osx post. Unfortunately, when I went hunting for the patch the second time around, I wasn’t able to find it. But I was finally able to solve my OSX/Subversion/scplugin problems by using the svn+ssh transport, thus:

svn+ssh://username@some.server/path/to/repository

Once I gave up on SMB file sharing, I’ve had no trouble with scplugin or Subversion on Mac OS X.


7 Responses to “SMB file sharing doesn't support Subversion on Mac OS X”


  1. 1 Jason Sep 6th, 2006 at 02:28 UTC
  2. 2 jim Sep 6th, 2006 at 13:56 UTC

    Thanks, Jason! That’s not the one I was looking for, but it did lead me to the missing patch!

    The reference you gave has a link to the svn darwin flock patch by Brian Wells. The page I was looking for was this post on the Subversion Users list.

    According to Brian’s post, under Mac OS X 10.4 it sounds like both the zero byte write patch as well as the svn darwin flock patch are required for SMBFS “local” repositories to work.

    If this works for you, would you mind posting a follow-up? TIA!

  3. 3 Jason Sep 6th, 2006 at 15:24 UTC

    Thanks! I’ll let you know if we try it out.

  4. 4 Jason Sep 7th, 2006 at 19:26 UTC

    I applied both patches to the latest version of svn, compiled and installed. I’m still get the same input/output errors as before… no go

  5. 5 Brian Wells Oct 7th, 2006 at 05:50 UTC

    I’ve combined both the file locking patch and the zero byte write patch into a single patch for APR, since this is the portability library Subversion relies on. You can read more about it here: http://web.mac.com/brianwells/iWeb/main/Blog/91699255-5FDD-4E2F-B05C-84EC49055CEE.html

    Please let me know if you have any problems getting it to work for you.

    – Brian Wells

  6. 6 Ron Stewart Oct 19th, 2006 at 14:02 UTC

    I have SVN 1.4.0 (d/l’d from codemonkeys) installed on my MacOS box (10.4.8), have mounted my SMB volume that contains my repos, and issued an “svn co” command to checkout a copy of one of my projects. Works great! I am now looking at Finder integration and everything I have found points me to SCPlugin. In looking at SCPlugin on tigris, it looks way old. Is it really going to work?

    Thanks much for any help you might offer!

  7. 7 jim Oct 19th, 2006 at 15:48 UTC

    Ron, be sure to test “commit” before assuming that Subversion is playing nice with SMB. “svn co” worked for me also, but checkout doesn’t do any file locking.

    The SCPlugin code is old, but it works fine. Be sure to look over the SCPlugin posts for potential pitfalls.

Leave a Reply




September 2006
M T W T F S S
« Aug   Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

Tags

abramoff accessibility acetylene activism aerial photo afrofunk aim4tree air america airport express alite alito amtrak andante andy anti failure any browser apache apple applescript arden arcade arden park ariana arnold ashland astronomy attic attika audio avid reader backup baen bart bathroom bbq bee beef begonia bgg bike bike hikers bike journal bikejournal biketalk bill oreilly bittorrent blacklist blog bloggercode blogroll blueberry boardgamegeek boardgames bonjour book bookcrossing boot failure bootcamp borderline chaos bugmenot bush business card cabinetry caira caitlin california candamir caroline carpet cat cateye cdrom celebration cellular phone century cheese chicken chico chimney chinese chipotle chocolate christmas chumby city bikes civilization cjd claire club club fed co op coconut coffee comfort food community computer concord congress conquest conservation consumer reports copyright costco crazybikerchick crepe crock pot cruftbox css csus curl currency custard cvntrak dagoba daniel goetz darwinports datarescue date format death delicious monster democracy now Democrat demolition dessert dickens diff disaster discrimination discworld dishwasher diskwarrior dixie belle dock doors downing street memo drm dryer drywall dump ed burke eff eggs eject election electric car electric truck electrical electricity elvgren email energy efficiency eric meyer esr etext euthanasia facebook family faq faux news feed feedreader fence finder firefox first4internet first amendment fishmeal flash flickr flooring foreign exchange foundation fox and goose framing freebsd freedback fyq garage garden geek geotag geourl gnutar go gonuls google google earth google maps gpl gracenote graywater greek green group concat gtd gunthers gutters gwbush gymnastics hacking halloween handspring hardwood harry potter headmeta high speed photograph high tech inv hoax hobbies hobby hodgins holiday holly home power magazine horcrux houseblogs how to html humor hvac ilovejackdaniels impeach inspection insulation intel internet ipod ipodder iq iraq isight itunes ivins iwantsandy java city javascript joint chiefs joseph jott journalized blue judges cup kctc khs kimkerry kitchen kyocera la salles la times labor landscape laundry law leatherbys legal lego leopard lhc liberal library linkedin ljurban lodi logic logo lungren maaloufs mac macbook mailinator malware map marin markdown mason media media clip media reform meetup metric mexican microsoft mike comfort military milonic mindstorms mlk model railroading modoc hall monterey morning sedition motorcycle movie moving munchkin murray mushroom music mynetflix mysql naked lounge nerd score netflix network new urbanism new year New Yorker nofollow nutella oatmeal obama obcz occidental occupation omni openssl oracle organic osx owp paint pair palast palm panasonic parallels party patch peak adventures peak oil pear pedestrian village perl petaluma php ping pingback pingomatic pingomation pingqueue pirate pl sql planet bike plasma playroom entertainment plugin plugin:preview theme plugin:text control plugin:ultimate tag warrior plumbing podcast podsite politics portupgrade potato powerbook printer programming project gutenberg pryde punk puzzle qiana quilt quilt shop quiz quote r5 records racism radio railroad recent comments recipe redalt remodel resaurant resolution restaurant restore review richmond rio americano robotics roger niello ron montana roof rootkit rss sacbee sacog sacramento sacramento spotlight magazine salad san francisco sandwich santa cruz scam scandal school days scplugin security session report shakespeare shuffle sigma siriradha sitemap snl snopes social social network software soma somafab sonicchicken sonicchicken blog sony spam spam karma spellcheck spinach spirit spoiler etiquette spring hill cheese sql sqlserver stairs standards statcounter stephen king stop loss stucco stunt subversion sudoku superbowl superhero supreme court sushi svn sysadmin tacoma tags plugin takara technology telephone television template terms and conditions textcontrol thai kitchen thanksgiving theater theme theme:borderline chaos theme:elvgren theme:elvgren wordpress google code theme:fluid blue theme:fullwidth theme:head theme:journalized theme:journalized blue theme:psycho theme:redoable theme:sharepoint like theme:simple green theme:spirit theme:steam theme:wuhan theme:yadda theme switcher thomas tigris euphrates tile tinfoil hat toc tofu tower theater training transit transit oriented development tribute u haul uneasy rhetoric university village van zant veterans day video vie viking hobby vote smart w3c wall warboss washer washington post weather web web developer web server wikipedia windows wishlist woodworking wordpress workplace wpblacklist wpgatekeeper wsj yaaarr yard