11
Mar
06

Progress on scplugin?

Thanks to Stu (no URL) and Ant, I think I’ve made some progress on scplugin! For some background, see my post on Subversion on Mac OSX and my subsequent attempts to get SCPlugin to work with Finder.

After trying Stu’s and Ant’s suggestions, I now get a Subversion menu when I control-click or right-click on a file/directory in the Finder. Woo hoo! Everything looks good, too. If I open the Subversion menu on a file which isn’t part of a svn working copy, only the Checkout and About menu items are available (as expected). Subversion working copies show the full menu (or whatever is appropriate). However, there are two things that still seem to be broken: the svn status indicators (icon overlays?) aren’t showing up in Finder, and I seem to have hosed the connection to my repository. Doh!

We’re using smb file shares to host our repository. When I first set this up, I connected to the file share (⌘K in Finder) and checked out a working copy of the repository. I could only work via the command line, but everything worked. Fastforward to a few days ago (when Stu and Ant dropped comments). I’m now trying to use scplugin again (not the command line), and all of the sudden nothing is working. It finally dawned on me that perhaps I should try the command line again. It turns out that when I first created my working copy, I must have somehow given a connection-specific smb string instead of the server name followed by the share. Here are the errors I’m getting:

svn commit -m 'Changed script to be user-independent' my_script subversion/libsvn_client/commit.c:873: (apr_err=180001) svn: Commit failed (details follow): subversion/libsvn_ra_local/ra_plugin.c:285: (apr_err=180001) svn: Unable to open an ra_local session to URL subversion/libsvn_ra_local/split_url.c:125: (apr_err=180001) svn: Unable to open repository 'file:///Volumes/server-3/my_proj/trunk/my_script’

The /Volumes/server-3 bit is where the problem lies–It should be /Volumes/sharename, instead of the third connection to this server. I did some hunting around on the net and found out how to fix broken svn repository references: use svn switch --relocate, such as:

svn switch --relocate file:///Volumes/server-3 file:///Volumes/sharename workingcopyroot

or so I thought. :( Now I’m getting the following error:

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/sharename/my_proj/db/transactions/3-1.txn/rev': Input/output error

Bummer. It may be time for a bug report…


3 Responses to “Progress on scplugin?”


  1. 1 jim Mar 29th, 2006 at 19:45 UTC

    Rats! I was working on my subversion-controlled project when I noticed that the svn status indicators were showing up in Finder. I thought that perhaps a recent patch had fixed subversion, but it looks like only scplugin got fixed. I’m still getting errors when I try to commit changes, either via scplugin (Finder) or the command line. Here’s the error from the scplugin status window:

    subversion/libsvnclient/commit.c:873: (aprerr=5) svn: Commit failed (details follow): subversion/libsvnsubr/io.c:2199: (aprerr=5) svn: Can’t write to file ‘/Volumes/sharename/my_proj/db/transactions/4-4.txn/rev’: Input/output error

  2. 2 Peter Apr 13th, 2006 at 05:13 UTC

    Running svn version 1.3.1 (r19032) on Mac 10.4.6, with a working copy on a SMB mounted drive and trying to do a commit using http, I’m seeing the following consistently:

    Peters-Computer:~/smbhome/peter $svn co http://athena/svn/debug/trunk dbg2 A dbg2/dir1 A dbg2/dir1/doc.txt A dbg2/dir1/foo.c A dbg2/dir1/thing.doc A dbg2/dir1/README1 svn: In directory ‘dbg2/dir1′ svn: Can’t copy ‘dbg2/dir1/.svn/tmp/text-base/doc.txt.svn-base’ to ‘dbg2/dir1/doc.txt.tmp’: Input/output error

    Using the same computer, the same command works great when I’m checking out to a directory on the local hard drive or on an NFS mounted fs.

  1. 1 SonicChicken weblog » Blog Archive » Mac OSX Subversion with an SMB repository (again) Pingback on Apr 4th, 2006 at 18:02 UTC

Leave a Reply




March 2006
M T W T F S S
« Feb   Apr »
 12345
6789101112
13141516171819
20212223242526
2728293031  

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