[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem excluding files using "global-ignores" setting in config file

From: Andy Markham <andy.markham.admin_at_gmail.com>
Date: 2005-10-11 00:21:36 CEST

I have been using Subversion for a few weeks now and have been ignoring
files that show up in the 'svn status' command that I know shouldn't be
under version control. However, it's time to fix that.

When I uncomment the "[miscellany]" and "global-ignores = ..." lines in the
config file and then add "*.tpl.php" to the end, it still shows me files
that match that pattern.

Basically, I'm working on an osCommerce site with Smarty templates and I'm
hoping to exclude all of the compiled templates that end up in the
"templates_c" directory. When compiled, the template files (ending in .tpl)
in the "templates" are given an extra .php extension (e.g. filename.tpl.php)
and put in the "templates_c" directory.

My global-ignores line looks like this:

global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
*.tpl.php

However, I see the following when I run 'svn status':

M gp/includes/modules/payment/merchantpartners_cc.php
M gp/templates_c/%%123^%%123631881^product_info.tpl.php
M gp/templates_c/%%214^%%2140183840^popup_dimensions.tpl.php
M gp/templates_c/%%117^%%1172603085^index.tpl.php
M gp/templates/checkout_success.tpl

Any help would be appreciated.

Regards,
Andy
Received on Tue Oct 11 00:23:56 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.