darcs

Issue 2094 darcs 2.7 bogus "could not reach" warning

Title darcs 2.7 bogus "could not reach" warning
Priority Status given-up
Milestone 2.8.1 Resolved in
Superseder Nosy List simon
Assigned To
Topics

Created on 2011-08-10.14:17:48 by simon, last changed 2017-07-31.00:31:14 by gh.

Messages
msg14626 (view) Author: simon Date: 2011-08-10.14:17:46
I think this is different from #1923 etc.: darcs 2.7 beta is warning me about could not reach 
~/.darcs/cache, even though that directory exists and contains patches and 
_darcs/prefs/sources contains only "repo:/Users/simon/src/hledger". This probably started 
happening after I deleted the cache directory to free disk space. darcs 2.5 does not give the 
warning.

Example:

$ darcs obliterate
Tue Aug  9 16:20:29 PDT 2011  Simon Michael <simon@joyful.com>
  * port to cmdargs
Shall I obliterate this patch? (1/250)  [ynW...], or ? for more options: y
Mon Aug  8 18:54:47 PDT 2011  Simon Michael <simon@joyful.com>
  * tools: fix autotest rule
Shall I obliterate this patch? (2/250)  [ynW...], or ? for more options: d
Finished obliterating.

HINT: I could not reach the following repository:
        /home/simon/.darcs/cache
      If you're not using it, you should probably delete
      the corresponding entry from _darcs/prefs/sources.
$ ls -l ~/.darcs/cache
total 0
drwxr-xr-x  1364 simon simon   46376 Aug 10 06:56 inventories
drwxr-xr-x 56069 simon simon 1906346 Aug 10 06:56 patches
drwxr-xr-x 21599 simon simon  734366 Aug 10 06:54 pristine.hashed
$ darcs --version
2.7.98.1 (beta 1)
$ darcs2.5.1 obliterate
Mon Aug  8 18:54:47 PDT 2011  Simon Michael <simon@joyful.com>
  * tools: fix autotest rule
Shall I obliterate this patch? (1/249)  [ynW...], or ? for more options: y
Sun Aug  7 18:34:43 PDT 2011  Simon Michael <simon@joyful.com>
  * more useful parse error from fixSmartDateStr
Shall I obliterate this patch? (2/249)  [ynW...], or ? for more options: d
Finished obliterating.
$ darcs2.7.3.20110304 obliterate
Sun Aug  7 18:34:43 PDT 2011  Simon Michael <simon@joyful.com>
  * more useful parse error from fixSmartDateStr
Shall I obliterate this patch? (1/248)  [ynW...], or ? for more options: y
Sun Aug  7 18:34:21 PDT 2011  Simon Michael <simon@joyful.com>
  * missing type signatures
Shall I obliterate this patch? (2/248)  [ynW...], or ? for more options: d
Finished obliterating.

HINT: I could not reach the following repository:
        /home/simon/.darcs/cache
      If you're not using it, you should probably delete
      the corresponding entry from _darcs/prefs/sources.
msg14747 (view) Author: markstos Date: 2011-10-13.12:39:02
If happens as an edge case, rather than commonly, I recommend bumping it 
to 2.10. Could someone test this further with the latest darcs?
History
Date User Action Args
2011-08-10 14:17:48simoncreate
2011-08-13 11:44:34ganeshsetmilestone: 2.8.0
2011-10-13 12:39:02markstossetstatus: unknown -> needs-reproduction
messages: + msg14747
2012-01-01 22:21:16ganeshsetmilestone: 2.8.0 -> 2.8.1
2017-07-31 00:31:14ghsetstatus: needs-reproduction -> given-up