I'm trying to update the svn-commit.tmp language definition to work with SVK, but am having some difficulty. In SVN, the temporary commit file is always named 'svn-commit.tmp' or 'svn-commit.2.tmp'. So the following works:
fileTypes = ( 'svn-commit.tmp', 'svn-commit.2.tmp' );
In SVK, the temporary commit file is named 'svk-commitXXXXX.tmp' where XXXXX appear to be five random alpha-numerics. I haven't been able to figure out how to match this. Am I missing something?
Thanks,
Sean
On 14/12/2005, at 0:34, Sean Wallace wrote:
In SVK, the temporary commit file is named 'svk-commitXXXXX.tmp' where XXXXX appear to be five random alpha-numerics. I haven't been able to figure out how to match this. Am I missing something?
No, that's not possible to match currently. I don't suppose it can be recognized with a first-line match?
Maybe you could set the SVK_EDITOR to a script that renames the file (to e.g. a svk_tmp extension), although a bit of a kludge.