want to specify a file pattern for 'bzr add'
Bug #490187 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Hi!
It is possible to use (or to add as an option) "bzr add" with a include pattern, so that only files matching a certain pattern will be added? This is a quite helpful option in hg add, and helped to only add for instance *.cpp *.h and to not accidentally add compiled or whatever files to the rep.
Greetings,
Andre
tags: | added: check-for-breezy |
To post a comment you must log in.
There are two possible workarounds:
1- Add ignore patterns for things you don't want to add, then do 'bzr add' on a directory or on the whole tree.
2- Let your shell do the pattern expansion, eg 'bzr add **/*.cpp'