info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I diff from 'add' to rev 1.1?


From: Larry Jones
Subject: Re: How do I diff from 'add' to rev 1.1?
Date: Wed, 20 Sep 2006 21:50:38 -0400 (EDT)

Holger writes:
> 
> This works:
>  cvs -q diff -u --new-file -D "1970-01-02" -r 1.1
> 
> This doesn't:
>  cvs -q diff -u --new-file -D "1970-01-01" -r 1.1
> 
> "cvs [diff aborted]: Can't parse date/time: 1970-01-01"
> 
> Go figure!

Try "1970-01-01 UTC".  User-specified times are assumed to be in local
time.  If 1970-01-01 in your local timezone is before 1970-01-01 UTC, it
won't be representable when converted to UTC, which prompts the above
error.

-Larry Jones

Mr. Subtlety drives home another point. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]