[Top][All Lists]

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

Re: Date diff including too much

From: Jim Hyslop
Subject: Re: Date diff including too much
Date: Thu, 06 Jul 2006 13:31:56 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Hash: SHA1

Richard Boehme wrote:
> Hi there. I'm trying to use CVS to get a diff of my project from
> 6/30/2006. Reading the manpage, I get:
> cvs -q diff -r dev -D "2006-06-30"
> cvs -q diff -r dev -D "6 days ago"
> cvs -q diff -r dev -D "2006/06/30"
> as likely things that should give me good results.
> However, it tells me that nearly everything in my project has changed,
> which is obviously not true. (it includes several static library files).
> Even
> cvs -q diff -r dev -D "2 hours ago"
> produces the same results.
> Do I have the wrong syntax, or is cvs/diff going haywire on me. BTW, the
> CVS server is ahead a timezone (one hour).

Timezone shouldn't be a factor - CVS always uses UTC.

The command you've issued should show a difference between the tag 'dev'
and the date specified. So, if 'dev' was applied a long time ago, then
you'll get a lot of changes.

'cvs di -D "6 days ago" -r HEAD' should get you what you want.

- --
Jim Hyslop
Dreampossible: Better software. Simply.
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird -


reply via email to

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