aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hacking.txt
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-12-06 10:12:57 -0500
committerW. Trevor King <wking@drexel.edu>2010-12-06 10:13:01 -0500
commitef0a5537747a2e5a0b2248018e981f80ae0b0f9f (patch)
tree832ccf487812e8ccf03ab8fe47c0950a0db3ee8b /doc/hacking.txt
parent22dd202ff4c0a1893f6e9f4d2b6aa1d4da3bf728 (diff)
downloadbugseverywhere-ef0a5537747a2e5a0b2248018e981f80ae0b0f9f.tar.gz
Run cmd.cleanup_now() after executing bzr commands.
Otherwise be remove ... blocks if it needs to remove multiple files, since bzrlib.builtins.cmd_remove needs write locks, and the second remove will try to aquire the lock that the first aquire hadn't released. If we force the release, the lock will be available for the second (and later) removal. It's not a problem to call cleanup_now() too often, because calling it clears the cleanup command stack, so I just added explicit cleanups after every bzr .run() call.
Diffstat (limited to 'doc/hacking.txt')
0 files changed, 0 insertions, 0 deletions