[TxMt] mercurial bundle not finding its .hg dir

Allan Odgaard throw-away-2 at macromates.com
Mon Nov 12 04:33:21 UTC 2007

On 12 Nov 2007, at 01:14, Oktay Acikalin wrote:

> if i do "mate project-dir" i can use mercurial pretty fine. but if i  
> do "mate framework project-dir" it says this:
> abort: There is no Mercurial repository here (.hg not found)!

Many commands use the TM_PROJECT_DIRECTORY variable to get the root of  
your project. This variable is the common parent directory for all top- 
level files/folders added to your project.

So by adding two folders you effectively change the project directory,  
and hg will thus not find its meta data.

You might be able to simply select your project dir in the drawer  
before issuing a Mercurial command -- another approach would be to  
make a symlink below your project-dir to the framework, if you want it  
to be part of the project.

More information about the textmate mailing list