alarmz / boar

Automatically exported from code.google.com/p/boar
0 stars 0 forks source link

Add Option to Ignore Files #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The option to specify files to ignore would be very useful. Currently, I need 
to be able to ignore Thumbs.db in all directories, so a spec like "Thumbs.db" 
should ignore any file with that filename.

Similarly, other options might be "c:\temp" to ignore an entire subdirectory, 
"*.tmp" to ignore any file ending in tmp, "c:\temp\*.tmp" for a combination.

Original issue reported on code.google.com by wayne.th...@hcmeinc.com on 21 Feb 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Agreed. I think this should be implemented as a special ".ignore" file, like in 
mercurial.

Original comment by ekb...@gmail.com on 22 Feb 2011 at 8:23

GoogleCodeExporter commented 9 years ago

Original comment by ekb...@gmail.com on 22 Feb 2011 at 8:23

GoogleCodeExporter commented 9 years ago
Yes, we do not want backups of thumbs.db :).

Original comment by mrsnowfl...@gmail.com on 4 Mar 2011 at 4:29

GoogleCodeExporter commented 9 years ago
Implemented as of changeset 340:61ed476f46a0.

The feature is used by setting the "ignore" session property. 

Typical use: create a ignore file (NOT in the boar workdir - the file can be 
discarded after setting the property). It should contain one pattern per line 
using Unix shell-style wildcards (same format as subversion). Then apply it to 
the desired session by using a command such as "boar setprop 
--repo=/home/joe/REPO MySession ignore -f ignoredefs.txt". More details will 
appear in the wiki soon.

Files that have been committed previously, but are now ignored, will not be 
automatically removed from the session.

Original comment by ekb...@gmail.com on 22 Jun 2011 at 6:00