Fossil

View Ticket
Login
2011-01-11
23:49 Delete attachment "manifest.xml" from ticket [f270321c0f] ... (artifact: e9bd93f320 user: drh)
14:14 Add attachment manifest.xml to ticket [f270321c0f] ... (artifact: 0f5b4e70fc user: anonymous)
2011-01-05
18:41 Fixed ticket [f270321c0f]: Recursively adding directories should respect ignore-glob plus 1 other change ... (artifact: 34402319b5 user: drh)
18:41
Add the --ignore option to the "add" command and have "add" honor the "ignore-glob" setting. Ticket [f270321c0f74b354f05] ... (check-in: be3d2154da user: drh tags: trunk)
17:17 New ticket [f270321c0f] Recursively adding directories should respect ignore-glob. ... (artifact: 8292264568 user: anonymous)

Ticket Hash: f270321c0f74b354f05ea8632aaac05eb5d68f13
Title: Recursively adding directories should respect ignore-glob
Status: Fixed Type: Code_Defect
Severity: Priority:
Subsystem: Resolution: Fixed
Last Modified: 2011-01-05 18:41:27
15.24 years ago
Created: 2011-01-05 17:17:56
15.24 years ago
Version Found In:
Description:
If I set a pattern in my ignore-glob, and said files don't appear under "fossil extra", I would expect "fossil add <subdirectory>" to not add those files. Yet it seems to do just that.

I'm trying to import a somewhat complex project into Fossil, and it places build artifacts in easily-determined locations (compiled .class files in subdirectories called "target", dependencies fetched by the build tool in directories appended with "_managed", etc.) I've successfully got "fossil extra" not listing these, but whenever I try recursively adding a subdirectory, these files are still listed as being added. I've had to wipe out my _FOSSIL file multiple times and re-add all the various files I've tried adding previously several times in order to not get build artifacts in the repository.

Seems that if I tell Fossil to ignore something, that it should automatically do so unless explicitly told to do otherwise. Thanks.