1581
1581
To remove patterns from the ignore list, edit the .bzrignore file.
1583
1583
Trailing slashes on patterns are ignored.
1584
If the pattern contains a slash, it is compared to the whole path
1585
from the branch root. Otherwise, it is compared to only the last
1586
component of the path. To match a file only in the root directory,
1584
If the pattern contains a slash or is a regular expression, it is compared
1585
to the whole path from the branch root. Otherwise, it is compared to only
1586
the last component of the path. To match a file only in the root
1587
directory, prepend './'.
1589
1589
Ignore patterns specifying absolute paths are not allowed.
1591
Ignore patterns are case-insensitive on case-insensitive systems.
1591
Ignore patterns may include globbing wildcards such as:
1592
? - Matches any single character except '/'
1593
* - Matches 0 or more characters except '/'
1594
/**/ - Matches 0 or more directories in a path
1595
[a-z] - Matches a single character from within a group of characters
1597
Ignore patterns may also be Python regular expressions.
1598
Regular expression ignore patterns are identified by a 'RE:' prefix
1599
followed by the regular expression. Regular expression ignore patterns
1600
may not include named or numbered groups.
1593
Note: wildcards must be quoted from the shell on Unix.
1602
Note: ignore patterns containing shell wildcards must be quoted from
1596
1606
bzr ignore ./Makefile
1597
1607
bzr ignore '*.class'
1608
bzr ignore 'lib/**/*.o'
1609
bzr ignore 'RE:lib/.*\.o'
1599
1611
takes_args = ['name_pattern*']
1600
1612
takes_options = [