[SVN] Bundle commit 255
Chris Thomas
chris at cjack.com
Sun Feb 13 18:20:57 UTC 2005
I've seen that with the current version of the Update command, but
Commit works for me. This usually seems to be some kind of shell
quoting issue. Can you post the paths you're trying to commit, and the
path it's complaining about (what's the exact error text from the HTML
window)?
For Update, can you can replace the command in the bundle editor with:
if [[ -z $TM_SELECTED_FILES ]]; then
WorkPaths=`echo \'$TM_FILEPATH\'`;
else
WorkPaths="$TM_SELECTED_FILES";
fi
export WorkPaths
echo "${TM_SVN:=svn}" > /dev/null
# use ruby to avoid shell quoting madness
ruby <<END
svn = ENV['TM_SVN']
puts %x{#{svn} update $WorkPaths}
END
... and see if that works better? I haven't committed this change
partly because I haven't figured out how to handle the project file
intuitively -- it may make sense to split it into two commands, Update
Current File and Update Project.
Note that I'm very much not a shell guru, if it's not obvious -- if
anyone has suggestions for a better implementation, I'm open to
feedback. :)
Thanks,
Chris
On Feb 13, 2005, at 4:58 AM, Brad Miller wrote:
> When I try to run update or commit I get an error message that pops up
> and says that /Users/....../foo is not a working copy.
> However I can run updates and commits from the terminal window just
> fine. I've tried this on a couple of different repositories with the
> same result. The status command seems to work just fine.
> Any ideas on what I should check?
> Brad
> On Feb 13, 2005, at 12:16 AM, Chris Thomas wrote:
>> Use svn_style.css.
>> Changed:
>> U trunk/Subversion.tmbundle/Commands/Commit.plist
>> U trunk/Subversion.tmbundle/Commands/Subversion status.plist
>> _______________________________________________
>> textmate-dev mailing list
>> textmate-dev at lists.macromates.com
>> http://lists.macromates.com/mailman/listinfo/textmate-dev
> Brad Miller, PhD
> Assistant Professor
> Luther College
> http://www.cs.luther.edu/~bmiller
> jabber: bnmnetp at jabber.org
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
More information about the textmate-dev
mailing list