While we're asking questions on commitwindow.app - how do you tell it the status of various files, eg
CommitWindow.app/Contents/MacOS/CommitWindow fileA.txt dir1/fileB.txt
Will show those files in the commit window, and I can parse the output but I've not figure out how to tell commitwindow the status of the files I want it to show?
jebw
On 17 Nov 2007, at 08:48, Allan Odgaard wrote:
On 16 Nov 2007, at 17:16, Rick DeNatale wrote:
[...] When I tried to commit, it failed complaining about mixed line endings (paraphrasing from memory).
Never heard of such error before. Would that be the commit message itself that had the mixed line endings?
[...] I tried to figure out how to patch this, but I think that this is all handled within the internal CommitWindow.app which I can't (or don't know how to) look at.
The source for the CommitWindow is here: http://macromates.com/svn/ Bundles/trunk/Tools/CommitWindowProject/
The Ruby script which uses the CommitWindow is here: http:// macromates.com/svn/Bundles/trunk/Bundles/Subversion.tmbundle/ Support/svn_commit.rb
I wonder though if actually this is not more suitable for http:// bugreport.apple.com -- although NSTextView can handle mixed line endings, I don’t think reading stuff from the clipboard should ever result in anything but LF. Maybe though you got RTF on the clipboard, and NSTextView inserted that, and this doesn’t fulfill that…
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate