Accurev.acignore

I have a directory tree under accurev. In this tree I have a directory job that I want to exclude from the version for good (including subdirectories). Can i use .acignore?

+6
source share
3 answers

Yes, you will need two entries in .acignore: one to exclude the directory, and the other to exclude its contents (including subdirectories), for example

myproject/bin/Debug myproject/bin/Debug/* 

Just save / promote the .acignore file in the parent directory of the myproject subdirectory.

+9
source

this is exactly what this file is for.

just add an entry like this to exclude the "work" directory:

 path/to/directory/work 

or, if you want to exclude all files and folders with the name "work", follow these steps:

 **/work 

I just checked this to make sure it will work. according to version 5.7, you do not require a separate entry to exclude the contents of the β€œwork”. however, I would not recommend using the wildcard character "**" for such a "name" of the file name.

If you want to share your .acignore file with other users of your project, be sure to create the .acignore file so that others can turn it off.

this is the .acignore file that I installed in the root of any accurev repository on my machine to exclude the standard maven, intellij, eclipse and git files:

 **/target **/.idea **/.metadata **/.classpath **/.project **/.settings **/.git **/*.iml **/*.ipr **/.gitignore **/atlassian-ide-plugin.xml 

who said that once I had a colleague who violated our continuous integration by creating a package called "target", so use it with caution.

+2
source

Yes, acignore files can be used to tell accurev to exclude / ignore files from a directory. But the size of the .acignore file is limited by the current directory. Thus, you will need to create .acignore files for each directory.

Ref. http://www.accurev.com/download/docs/5.4.0_books/AccuRev_WebHelp/AccuRev_TechNotes/wwhelp/wwhimpl/common/html/wwhelp.htm#href=per_dir_pathname_opt.html&single=true

0
source

Source: https://habr.com/ru/post/908486/


All Articles