subdirectory patterns in .jazzignore?
Say I have a tree with, for example's sake, a subtree like:
a |__b1 | |__ c1 | |__ c2 |__b2 |__c3 |__c4 and I wish to ignore c2 and c4 from SCM. Is there a .jazzignore I can add under 'a' to make this happen? It can't simply refer to (unqualified) 'c2' or 'c4' since those may appear elsewhere in the tree (not shown) but I only want to ignore a/b1/c2, a/b2/c4. I realize I can use .jazzignore under b1 and b2 simply enough to make this happen... however, in my case there is some value having all the ignored folders in one place (under 'a') for simple reference...rather than having to find them nested at all different subdir levels. However, things like this don't seem to help any in a's .jazzignore: core.ignore.recursive = {b1/c2} Thanks |
2 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Mar 10 '13, 3:43 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To my knowledge, you can only put filename patterns in your .jazzignore file, not pathname patterns. Which unfortunately means you cannot do what you want to do ... if the filename pattern should only apply to certain directories, you'll have to add that pattern to the .jazzignore file in those directories.
|
Ralph Schoon (63.5k●3●36●46)
| answered Jun 14 '11, 12:16 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
you can click on the folders and add them to the ignore list. In the dialog you have options that you can use to specify what you want. Does that dialog not provide you with the necessary options? Thanks, Ralph Comments I can get the files ignored easily enough .. I can shift+RightClick multiple folders and ignore easily via the wizard.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
How can we vote up this suggestion? I get error requires minimum reputation.