I have the Git bundle enabled along with the SCM bundles, but when I click the icon to show SCM status, I get a view with my project at the top and (disabled). What have I missed?
Bob ------------------- Robert J. Rockefeller Richmond Hill, GA www.bobrockefeller.com
On 11 Oct 2015, at 20:45, Robert J. Rockefeller wrote:
I have the Git bundle enabled along with the SCM bundles, but when I click the icon to show SCM status, I get a view with my project at the top and (disabled). What have I missed?
There are 3 reasons why SCM status might be disabled:
1. The project is in the root of the file system or home folder. 2. The project is on a “non local” disk. This is determined by asking the system, so some virtual file systems might report themselves as non-local. 3. SCM status has been explicitly disabled via .tm_properties.
The reason for #1 is that some users have their home folder under version control or sometimes accidtanelly do “git init” in root or ~, and asking for “git status” in these folders are very expensive, because git has to traverse all sub-folders to obtain the status.
The reason for #2 is that most of the distributed version control systems use content hashes to check if a file has been modified, which for a non-local file would mean that all the bytes of the project would have to be downloaded to your machine to obtain the status.
As for #3, this setting exist also to force-enable SCM status. For example if you are using a virtual file system that is incorrectly reported as non-local, you can create a .tm_properties setting to enable SCM status for this file system, for example place it in the root of your project and let it contain this line:
scmStatus = enable
Thanks for the details.
I tried three different projects and each shows the same disabled text when I click the Show Source Control Management Status button at the bottom of the file pane.
The bundles Git and SCM are enabled.
The path to one of the projects, typical of them all, is:
/Users/bob/Dropbox/SyncedSites/vhosts/www.br.dev
.tm_properties doesn’t call for SCM to be disabled and one of the projects has no .tm_properties file at all.
Is there somewhere else I can be checking?
Bob ------------------- Robert J. Rockefeller Richmond Hill, GA www.bobrockefeller.com
On Oct 14, 2015, at 8:22 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 11 Oct 2015, at 20:45, Robert J. Rockefeller wrote:
I have the Git bundle enabled along with the SCM bundles, but when I click the icon to show SCM status, I get a view with my project at the top and (disabled). What have I missed?
There are 3 reasons why SCM status might be disabled:
- The project is in the root of the file system or home folder.
- The project is on a “non local” disk. This is determined by asking the system, so some virtual file systems might report themselves as non-local.
- SCM status has been explicitly disabled via .tm_properties.
The reason for #1 is that some users have their home folder under version control or sometimes accidtanelly do “git init” in root or ~, and asking for “git status” in these folders are very expensive, because git has to traverse all sub-folders to obtain the status.
The reason for #2 is that most of the distributed version control systems use content hashes to check if a file has been modified, which for a non-local file would mean that all the bytes of the project would have to be downloaded to your machine to obtain the status.
As for #3, this setting exist also to force-enable SCM status. For example if you are using a virtual file system that is incorrectly reported as non-local, you can create a .tm_properties setting to enable SCM status for this file system, for example place it in the root of your project and let it contain this line:
scmStatus = enable
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 15 Oct 2015, at 4:49, Robert J. Rockefeller wrote:
The bundles Git and SCM are enabled.
The “SCM Status” in the file browser does not rely on bundles.
[…] Is there somewhere else I can be checking?
1. Try create a project e.g. in your home folder. Does that work?
2. Do you see badges in the file browser (e.g. for modified files)?
3. Has SCM Status support ever worked for you?
4. Try add `scmStatus = enable` in your project’s .tm_properties file, does that make it work? You may want to relaunch, as there is a lot of caching going on wrt. SCM status.