Re: Global Ignore Pattern
From: Ryan Hathaway <rghathaway_at_starkcountyohio.gov>
Date: Mon, 04 Aug 2014 09:10:58 -0400
Hi Deepak,
There are a couple different things that could cause this setting to appear like it is not be honored, but first off to be clear, are you referring to the subversion Global ignore pattern found in the TortoiseSVN client settings, or the svn:global-ignores property?
In either case, these settings only work when performing the Add operation, and files which have already been added to the repository cannot be ignored, unless you use the Delete operation to remove them from the repo first. In other words, once some file has been committed, it is no longer ignored even if the filename appears in one or more ignore lists.
If you mean the former, it's a client-side setting, so the person initially performing the Add must have the proper value set in their client settings. If you set your client properly and another user doesn't set their client rules the same, they could easily check in those files with no warnings. Once checked in by a peer, your ignore lists are ignored.
If you want to share the same set of rules with all the users of the repository, it is often best to set the ignore list up with the svn:global-ignores svn project property recursively on each repository.
If you want to actually force strict compliance with the rule, your svn server administrator can set up a server-side hook to reject any svn add operations which contain a file with your listed patterns.
At least I think this is how it is supposed to work, apologies if any of the above is incorrect.
Thank you,
-Ryan
Ryan Hathaway
Office of Alan Harold, Auditor
330-451-1414
***Please note: My email address has changed to rghathaway_at_starkcountyohio.gov ***
Anybody has used global ignore pattern to ignore files during svn add so that those files are not added. But it is not working.
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ *.rej *~ #*# .#* .*.swp .DS_Store
Regards
Deepak Bhatia
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.