0.13dev: Merged [10823] from 0.12-stable, and catch `IntegrityError` instead of (the too-generic) `Exception`.
0.13dev: Merged [10823] from 0.12-stable, and catch `IntegrityError` instead of (the too-generic) `Exception`.


git-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@10824 af82e41b-90c4-0310-8c96-b1721e28e2e2

dafrito/trac-mirror,dafrito/trac-mirror,dafrito/trac-mirror,dafrito/trac-mirror