git-annex/Assistant
Joey Hess 5c3e14649e avoid unnecessary transfer scans when syncing a disconnected remote
Found a very cheap way to determine when a disconnected remote has
diverged, and has new content that needs to be transferred: Piggyback on
the git-annex branch update, which already checks for divergence.

However, this does not check if new content has appeared locally while
disconnected, that should be transferred to the remote.

Also, this does not handle cases where the two git repos are in sync,
but their content syncing has not caught up yet.

This code could have its efficiency improved:

* When multiple remotes are synced, if any one has diverged, they're
  all queued for transfer scans.
* The transfer scanner could be told whether the remote has new content,
  the local repo has new content, or both, and could optimise its scan
  accordingly.
2012-08-22 15:05:57 -04:00
..
Threads refactor 2012-08-22 14:32:17 -04:00
WebApp make canCheckSymlink check in a parent directory if the directory DNE 2012-08-16 16:50:21 -07:00
Alert.hs fix display of icon in block alert heading 2012-08-06 17:15:27 -04:00
Changes.hs license 2012-06-23 01:20:40 -04:00
Commits.hs license 2012-06-23 01:20:40 -04:00
Common.hs debugging improvements 2012-07-20 19:29:59 -04:00
DaemonStatus.hs avoid unnecessary transfer scans when syncing a disconnected remote 2012-08-22 15:05:57 -04:00
Pushes.hs use a TMVar 2012-06-26 19:21:44 -04:00
ScanRemotes.hs fix crash when just one remote needs to be scanned 2012-08-05 15:18:56 -04:00
Sync.hs avoid unnecessary transfer scans when syncing a disconnected remote 2012-08-22 15:05:57 -04:00
ThreadedMonad.hs fork off git-annex copy for transfers 2012-08-10 14:14:08 -04:00
TransferQueue.hs implement pausing of transfers 2012-08-10 18:42:44 -04:00
TransferSlots.hs run resumed transfers immediately, do not wait for free transfer slot 2012-08-12 12:36:08 -04:00
WebApp.hs implement resuming of paused transfers 2012-08-12 12:11:20 -04:00