brunyuriy / crystalvc

Automatically exported from code.google.com/p/crystalvc
Other
6 stars 5 forks source link

Refresh local repos whenever there is a change of any kind #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Crystal currently sleeps a long time between refreshing.  I think it's
reasonable to check for changes to remote repositories only periodically.
However, it would be possible/desirable to check for changes to local
repositories much more frequently.  In particular, I propose that Crystal
should check every (say) 5 seconds whether the timestamp on any
locally-available .hg directory (which might be my copy, or one of the ones
to which I am comparing) has changed.  If so, then Crystal re-computes any
relevant relationships (or maybe it just recomputes the whole row for
simplicity).

This is motivated by the fact that I am constantly wondering whether
Crystal is incorrect, because I do a local operation and, a little while
later, see that Crystal's display is still wrong.  It would be better to
make Crystal feel more responsive -- certainly to things that the user has
done, but really to anything on the local file system.

Original issue reported on code.google.com by yuriy.b...@gmail.com on 13 Jul 2011 at 2:30

GoogleCodeExporter commented 9 years ago
removed owner

Original comment by yuriy.b...@gmail.com on 13 Jul 2011 at 2:41