[qbzr] [RFH] Rework Bazaar Explorer + QBzr to use separate process for bzr operations and main process only as GUI presenter
Alexander Belchenko
bialix at ukr.net
Wed May 4 12:31:30 UTC 2011
Gordon Tyler пишет:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 5/4/2011 5:04 AM, Alexander Belchenko wrote:
>> Currently Bazaar Explorer is watching files which have been passed
>> to editor from Bazaar Explorer itself and it works very smooth for
>> small trees. So, yes, we should watch the files as well. I'm not
>> quite sure yet should we watch entire bzr location for any changes
>> and how well it works with many many subdirectories.
>
> The only thing to do there is to actually test I think. Build a small
> test app that uses a platform's fsnotify or equivalent API to watch
> for changes in a large tree and see what its performance is like.
I have one doubt though: if FileSystemWatcher looks into subdirectories
then it will be triggered on any change inside .bzr directory. IIRC some
read-only operations will create/delete lock dir/file inside .bzr.
Therefore it will trigger false positive alarms, IIUC.
--
All the dude wanted was his rug back
More information about the bazaar
mailing list