[TxMt] TextMate Project in Version-Control Annoyance

Daniel Harple dharple at generalconsumption.org
Thu Jun 1 12:20:10 UTC 2006


On May 31, 2006, at 8:59 PM, Ollivier Robert wrote:

> echo "*.tmproj" >>.hgignore
> hg commit -m "Don't handle TM project files."
>
> (or use your local vcs instead of course)

I tried this before —- in subversion (and darcs) you can not ignore  
version controlled files.

On May 31, 2006, at 9:04 PM, Michael Sheets wrote:

> Most people just don't keep the project file in version control,  
> that way you can still have the advantage of if saving different  
> window positions if you had multiple computers.

Taking the file out of version control is not an option —- I need to  
have a few project-local variables set. Separating project settings  
and window settings does not take away the advantage you are  
describing -— it augments it. You can keep the project,  
“.tmsettings”, in version control and just ignore the user specific  
settings -— “.tmuser”.

project.tmproj/
   project.tmsettings
   someuser.tmuser


> Plus other people that don't use Textmate wouldn't be flustered by  
> an unknown file. [...]

This is other person's problem if their world comes crashing down at  
sight of an unknown file. ;)

-- Daniel




More information about the textmate mailing list