On Fri 18 Jan 2008, Paul Slootman wrote:
> On Fri 18 Jan 2008, Paul Slootman wrote:
> > >
> > > Status: warning (24) -- file vanished on sender
> >
> > That's not in the summary file "fsdfds fdsf" showed...
> Oops, I didn't scroll beyond the blank line :-( sorry....
The way I've worked around this in the past is a simple patch:
--- dirvish.orig 2006-10-15 00:00:00.000000000 +0200
+++ dirvish 2006-10-15 00:42:04.000000000 +0200
@@ -637,6 +637,7 @@
open (STDOUT, ">$log_temp");
$status{code} = (system(@cmd) >> 8) & 255;
+ $status{code} = 0 if ($status{code} == 24);
open (STDERR, ">&ERRHOLD");
open (STDOUT, ">&OUTHOLD");
This should perhaps be coupled to an option...
Of course, another approach is to modify dirvish-expire, so that the
summary file accurately reflects what happened:
--- dirvish-expire.orig 2006-07-27 18:25:25.000000000 +0200
+++ dirvish-expire 2008-01-18 13:21:08.915730223 +0100
@@ -226,7 +226,7 @@
if ($status == 0)
{
- $$summary{Status} =~ /^success/ && -d ($path . '/tree')
+ $$summary{Status} =~ /^(success|warning \(24\))/ && -d
($path . '/tree')
and
++$unexpired{$$summary{vault}}{$$summary{branch}};
return;
}
(untested)
Paul Slootman
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish