A way to ignore files related to versioned files
Bug #383245 reported by
Gioele Barabucci
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I would like to have a way to tell bzr to ignore files that are generated from versioned files.
For example, I have many .svg versioned files that I export to PDF or PNG. These files are generated from the source SVG file thus I want bzr to ignore them. So I need a rule in .bzrignore to tell bzr to ignore file foo.png if (and only if) foo.svg exists. Similarly I have .tex files under bzr control that I routinely edit and convert to PDF; the process creates half a dozen of auxiliary temporary files that I'd like to ignore.
The current (1.15) regexp-based implementation of .bzrignore cannot deal with this problem.
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: check-for-breezy |
To post a comment you must log in.
I'm curious what sort of syntax you think would work for this. It would be introducing some sort of conditional evaluation (ignore X if Y).
Does any other system support this that we could use as a template? Certainly none of the ignore lists I've encountered from CVS/SVN/git/hg seem to support it. Then again, maybe I'm missing some rarely used bits.