Comment 7 for bug 376388

Revision history for this message
Thierry Carrez (ttx) wrote :

That leaves two options:
1/ special-casing sudo in configuration file management in bzr
2/ workaround in etckeeper (override HOME in bzr calls in etckeeper ? Pre-create $HOME/.bazaar and $HOME/.bzr.log correctly ?)

(2) is certainly simpler, however it will fail to catch the case where the etckeeper user runs "sudo bzr diff" by hand. that said, if soren implements the "etckeeper diff" command, that might be considered a corner case.