darcs

Patch 214 Resolve issue1159: smart caches union. (and 2 more)

Title Resolve issue1159: smart caches union. (and 2 more)
Superseder Nosy List darcs-users, dmitry.kurochkin, kowey
Related Issues darcs reports a bug in darcs, "pending has conflicts"
View: 215
Status obsoleted Assigned To
Milestone

Created on 2010-04-18.15:01:28 by dmitry.kurochkin, last changed 2011-05-10.20:36:28 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
resolve-issue1159_-smart-caches-union_.dpatch dmitry.kurochkin, 2010-04-18.15:01:28 text/x-darcs-patch
unnamed dmitry.kurochkin, 2010-04-18.15:01:28 text/plain
See mailing list archives for discussion on individual patches.
Messages
msg10758 (view) Author: dmitry.kurochkin Date: 2010-04-18.15:01:28
3 patches for repository http://darcs.net:

Sat Apr 17 03:56:44 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin@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.

Sun Apr 18 18:01:29 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
  * URL: add maxPipelineLength function, rename maxPipeLength to maxPipelineLengthRef.

Sun Apr 18 18:47:04 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
  * Darcs.Repository: use pipelining when copying patches.
  Speculate on patches in fetch_patches_if_necessary. Improves darcs get time
  fot the http://darcs.net repository from 37:24 to 21:25 for me.
Attachments
msg10760 (view) Author: dmitry.kurochkin Date: 2010-04-18.15:08:08
Long description amended in patch215.
msg10762 (view) Author: kowey Date: 2010-04-18.15:10:48
On Sun, Apr 18, 2010 at 15:08:08 +0000, Dmitry Kurochkin wrote:
> Long description amended in patch215.

One useful trick here is darcs send --subject '[patch214]'
darcs send/procmail/roundup cooperation :-)

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
History
Date User Action Args
2010-04-18 15:01:28dmitry.kurochkincreate
2010-04-18 15:03:01darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-c16758f8061c610b499867998e3299dd45dd9574
2010-04-18 15:08:08dmitry.kurochkinsetstatus: needs-review -> obsoleted
messages: + msg10760
issues: + darcs reports a bug in darcs, "pending has conflicts"
2010-04-18 15:10:48koweysetnosy: + kowey
messages: + msg10762
2011-05-10 20:36:28darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-c16758f8061c610b499867998e3299dd45dd9574 -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-c16758f8061c610b499867998e3299dd45dd9574