Subversion seems to work with TextMate only if the .tmproj file is saved within a subversioned folder, or if a Subversioned folder has been opened in TextMate without the project being saved.
Is anyone else experience this -- or am I not doing something wrong? Just checking.
On 15/09/2005, at 9.07, Kris Khaira wrote:
Subversion seems to work with TextMate only if the .tmproj file is saved within a subversioned folder, or if a Subversioned folder has been opened in TextMate without the project being saved.
Is anyone else experience this -- or am I not doing something wrong? Just checking.
What do you mean by Subversion? There are a dozen commands in the Subversion bundle, I believe that Status and Update Entire Project work with TM_PROJECT_DIRECTORY (and falls back to TM_DIRECTORY for non-projects), but the rest work on the selection in the project drawer, or current file.
What do you mean by Subversion? There are a dozen commands in the Subversion bundle, I believe that Status and Update Entire Project work with TM_PROJECT_DIRECTORY (and falls back to TM_DIRECTORY for non-projects), but the rest work on the selection in the project drawer, or current file.
What I mean is this:
1. Made a new project from a Subversioned folder "/data/www/project1/ 2. Saved the project file on my Desktop.
Then, whenever I try to run an svn command from within TextMate on any file in that project, I get this error:
svn: '/Users/kris/Desktop' is not a working copy
This only happens if the tmproj file is not located within the subversioned folder that's in that tmproj file.
I'm running build 421 on Panther 10.3.9.
On 15/09/2005, at 20.02, Kris Khaira wrote:
What I mean is this:
- Made a new project from a Subversioned folder "/data/www/project1/
- Saved the project file on my Desktop.
Then, whenever I try to run an svn command from within TextMate on any file in that project, I get this error:
svn: '/Users/kris/Desktop' is not a working copy
If I do the same, I get that error for Status, but Blame, Commit, Diff with Base, Info, Log etc. all work fine.
As for Status not working (since it's based on TM_PROJECT_DIRECTORY), I'll try to change that variable to be the folder of the top-most file in the project, seeing how so many doesn't keep the tmproj file in the project directory (and I anyway need another solution for 1.2, if I want to get rid of the tmproj files).
If I do the same, I get that error for Status, but Blame, Commit, Diff with Base, Info, Log etc. all work fine.
Actually, Info works, but not Log, Commit, Status or Blame. Weird.
... I'll try to change that variable to be the folder of the top-most file in the project...
Sounds good!