Sym links and bazaar
Tom Browder
tom.browder at gmail.com
Sat Oct 16 19:38:47 BST 2010
I want to keep the contents of a system file outside my bzr repo
synched inside my repo and under version control. A sym link won't do
it because bzr doesn't see changes in the file. I can make a hard
link but that doesn't work across certain file system boundaries.
The only way I can think to do it automatically is with some kind of
bzr hook that will update a copy of the target file whenever I use the
following bzr commands (there may be other commands affected, too):
status
commit
I'm not sure if there is an appropriate hook but my guess from looking
at the hook list in the User Reference is that a "BzrDir pre_open"
hook is the correct one.
Suggestions and hints welcome.
Regards,
-Tom
Thomas M. Browder, Jr.
Niceville, Florida
USA
More information about the bazaar
mailing list