Hello all.<br><br>I have been looking at Textmate and bluntly, have been blown away by the balance it has gotten between a really narrow scope that is done really really really well.<br><br>For example, "wrap each line" bundle command is just majic! I can't think how many times I have had to do this by hand in Dreamweaver!
<br><br>But I have a question that I am sure someone else has solved that I have not found a solution for on the web.<br><br>That is, how do you integrate Textmate, with SVN and also manage sites?<br><br>Now, before ou just hit reply and say "SVNX" let me explain...
<br><br>Dreamweaver has a nice feature, that is, it knows about all the files in the site. if you change the location of a file, change the name of a directory or the name of the file itself within the site, it will run back through the entire site and update every link to that file.
<br><br>This is especially useful when you are re-coding sites and bringing them up to the CSS age.<br><br>The problem with this, is if you do it, SVN doesn't see it and SVN then complains about missing file X and added file Y when in fact it is a simpel rename X to Y - the end result of this is polution orphans in the SVN database (not a huge problem, unless you are using huge files)
<br><br>Conversly, if you do the move from SVN (svn rename big_picture.jpg little_picture.jpg) then Dreamweaver doesn't know about it and can't find those 101 references to big_picture.jpg that just got moved (of course you can do it with a find/replace, but this does not handle relative links).
<br><br>One obvious solution is move it with SVN, then do a find / replace in textmate.<br><br>But that doesn't handle relative links (../../../img/myimages/little_picture.jpg being the same as ../myimages/little_picture.jpg)
<br><br>So how do you do it? I think my answer lies in regex.....<br><br>Does anyone have a solution out there to this particular problem?<br><br>Regards<br><br>Mikel<br><br>