[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs log options ( was Re: cvs rtag -r BRANCH -D date)
From: |
Derek R. Price |
Subject: |
Re: cvs log options ( was Re: cvs rtag -r BRANCH -D date) |
Date: |
Mon, 11 Jun 2001 13:26:07 -0400 |
Stephen Rasku wrote:
> cvs admin -o uses a colon syntax to specify a revision range and cvs log
> uses the same (or similar) syntax to specify revisions (except for the
> space problem mentioned above) but it uses a different syntax for dates.
> First of all, it uses -d instead of -D and it uses a greater than/less
> than syntax. I would prefer using a -D syntax that mirrors the -r syntax.
> So you would do some thing like this:
>
> cvs log -D <date> -D now
> cvs log -D start -D <date>
> cvs log -D <date1> -D <date2>
> etc.
This sounds usable.
> I would also change the -r option so that it matches "cvs update" and "cvs
> diff". It would work like this:
>
> cvs log -r <rev1> -r <rev2>
> cvs log -r <rev>.origin -r <rev>
> cvs log -r <rev> -r HEAD
> cvs log -r <branch>
> cvs log -r <branch1> -r <branch2>
Hmm... interesting. This might be doable without loss of functionality in
conjunction with Stephen Cameron's .origin/.trunk patch. I'd like more
feedback on Cameron's patch before adoption, though. If you'd like to
download and try it, Steve keeps it at
http://www.geocities.com/dotslashstar/branch_patch.html .
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net CollabNet ( http://collab.net )
--
I will not sell school property.
I will not sell school property.
I will not sell school property...
- Bart Simpson on chalkboard, _The Simpsons_