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

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
Programmer Analyst

Office of Alan Harold, Auditor
Stark County Ohio
110 Central Plaza S
Canton, OH 44702

330-451-1414

***Please note: My email address has changed to rghathaway_at_starkcountyohio.gov ***
>>> Deepak Bhatia <toreachdeepak1_at_gmail.com> 08/04/14 6:54 AM >>>
Hello,

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

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3086177

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3086191

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-08-04 15:12:03 CEST

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.