[darcs-users] [patch209] Resolve issue1159: smart caches union.

Dmitry Kurochkin bugs at darcs.net
Sat Apr 17 00:30:56 UTC 2010


New submission from Dmitry Kurochkin <dmitry.kurochkin at gmail.com>:

1 patch for repository http://darcs.net:

Sat Apr 17 03:56:44 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin at gmail.com>
  * Resolve issue1159: smart caches union.
  Try to do better than just blindly copying remote cache entries:
  
  * If remote repository is accessed through network, do not copy any cache
    entries from it. Taking local entries does not make sense and using network
    entries can lead to darcs hang when it tries to get to unaccessible host.
  
  * If remote repositoty is local, copy all network cache entries. For local
    cache entries if the cache directory exists and is writable it is added as
    writable cache, if it exists but is not writable it is added as read-only
    cache.
  
  This approach should save us from bogus cache entries. One case it does not
  work very well is when you fetch from partial repository over network.
  Hopefully this is not a common case.

----------
files: resolve-issue1159_-smart-caches-union_.dpatch, unnamed
messages: 10743
nosy: darcs-users, dmitry.kurochkin
status: needs-review
title: Resolve issue1159: smart caches union.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch209>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve-issue1159_-smart-caches-union_.dpatch
Type: text/x-darcs-patch
Size: 32163 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100417/40f421f5/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unnamed
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100417/40f421f5/attachment-0001.diff>


More information about the darcs-users mailing list