Re: WinCvs: Force refresh after every command
"kirillmueller" <[email protected]> Wed, 22 Mar 2006 12:03:17 -0000
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
Jerzy,
thank you for your reply. I forgot that folder view sometimes needs
refreshing, too. To catch this automatically, we could add an "old-
style" (FindFirstChangeNotification) for the root in folder view that
would catch only directory creates/renames/destructions.
In fact, I'd like to improve the folder/file view refresh to use
ReadDirectoryChangesW so that WinCvs wouldn't need to reload the
whole list on every refresh. But this will need a lot of time, which
I don't have right now. For now, skipping the forced refresh (in
addition to adding a watch for the folder structure) would be the
fastest and least intrusive modification.
Or maybe a new parameter to launchCVS(..., bool
bNeedFolderViewRefresh = true, bool bNeedFileViewRefresh = true) ?
My aim is to avoid file view refresh after "Diff" and "Query update"
(and maybe rtag, rlog, log, commands with "dry run" flag, ...) -
those commands don't change the sandbox and so no refresh is needed.
Well, I use flat most of the time view because it's convenient. I see
instantly which files have changed. Sometimes they come from
different directories, but even when they're from the same directory
I don't want to need to choose the "current" folder manually -- flat
view does that for me. (I have a solution with several projects, one
folder per project.) This is not banging head, just my way of working.
Kind regards,
Kirill
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cvsgui-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/