I run a script to update bundles. At the moment it seems to hang trying to update Rails. Anybody know what's happening and what to do about it? Everything seems fine until near the end of the process, when I see:
Fetching external item into 'Bundles/Rails.tmbundle/Support/plugins/textmate_footnotes' External at revision 121.
Fetching external item into 'Bundles/Rails.tmbundle/Support/plugins/engines'
... and there it sits.
The script is
#!/bin/sh cd /Library/Application\ Support/TextMate/ /usr/local/bin/svn up osascript -e '
and has been working for months.
I tried exiting terminal, which ended the script but left "engines" locked. svn cleanup resolved that.
PowerBook G4 12"/Mac OS X 10.4.7
On 2/9/2006, at 2:11, Lewis Overton wrote:
I run a script to update bundles. At the moment it seems to hang trying to update Rails. Anybody know what's happening and what to do about it?
You can add --ignore-externals to svn up to have it skip the rails/ plugins folder (which is an external reference to a repository which was likely down when you tried it).
Hi Lewis,
On Sat, 02 Sep 2006 01:11:39 +0100, Lewis Overton akakie@gmail.com wrote:
The script is
#!/bin/sh cd /Library/Application\ Support/TextMate/ /usr/local/bin/svn up osascript -e '
and has been working for months.
Well, it's broken now. :) The last line is broken. The -e flag is for passing a command to osascript, but you haven't stated what the command is. The fact that you haven't closed the string with another "'" means that it will sit there waiting for you to tell it what command to run.
Go to the command prompt, type "osascript -e '" and press return, you'll see it just waits for you to give it a command (it prompts you for it with a '> ' prompt). (hit ctrl-c to break).
I suspect at some point your script file got damaged... maybe you want this:
osascript -e 'tell app "TextMate" to reload bundles'
(found on http://macromates.com/textmate/manual/bundles )
Jon
You're right, Jon. That was a copy/paste flaw in my email. What's actually running includes osascript -e 'tell app "TextMate" to reload bundles' as you suggested. Thanks for catching my error. Good eye.
Oh, BTW. The script worked this morning. Apparently access to the rails bundle was down. It's a yo-yo world sometimes.
On 9/2/06, Jon Evans jon.evans@pobox.com wrote:
Hi Lewis,
On Sat, 02 Sep 2006 01:11:39 +0100, Lewis Overton akakie@gmail.com wrote:
The script is
#!/bin/sh cd /Library/Application\ Support/TextMate/ /usr/local/bin/svn up osascript -e '
and has been working for months.
Well, it's broken now. :) The last line is broken. The -e flag is for passing a command to osascript, but you haven't stated what the command is. The fact that you haven't closed the string with another "'" means that it will sit there waiting for you to tell it what command to run.
Go to the command prompt, type "osascript -e '" and press return, you'll see it just waits for you to give it a command (it prompts you for it with a '> ' prompt). (hit ctrl-c to break).
I suspect at some point your script file got damaged... maybe you want this:
osascript -e 'tell app "TextMate" to reload bundles'
(found on http://macromates.com/textmate/manual/bundles )
Jon