On Wednesday 03 March 2010 16:32:35 JW wrote:
> Q #1:  In some of the documentation it shows
> 
>       expire-default
> 
> above the expire-rule lines. However in another place someone marked that
>  it should be last. Does the order matter?

No, the order of directives does not matter (unless you specify the same 
option/directive more than once. From the dirvish.conf manpage: "each option 
may be specified any number of times.  Those options that expect lists will 
accumulate all of their arguments and for single value options each 
specification will override the ones before.").

> Q #2:   Ditto for the lines inside the expire-rule paragraph - does the
>  order matter?

Yes, it does. From the dirvish.conf manpage section on expire rules: "The last 
rule that matches will apply so list order is significant.  This allows rules 
to be set in client, vault and branch configuration files to override rules set 
in the master configuration file without having to use RESET."

> Q #3: I can change settings like "+1 year" to "+3 years" to have it kept
>  for 3 years, right? I could not find any examples that showed multi-years
>  (except "never").

Yes, it seems the parser can handle plural years. The manpage says it uses 
Time::ParseDate to parse the relative times, and the documentation for that 
doesn't even mention singulars:
http://search.cpan.org/~muir/Time-modules-2003.0211/lib/Time/ParseDate.pm

-Andy
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to