[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs rtag -r BRANCH -D date
From: |
Derek R. Price |
Subject: |
Re: cvs rtag -r BRANCH -D date |
Date: |
Tue, 05 Jun 2001 08:41:23 -0400 |
Alexey Mahotkin wrote:
> If I try to say
>
> $ cvs rtag -r BRANCH -D "23 Jan 2001" TEST junk
>
> it says
>
> cvs [rtag aborted]: -r and -D options are mutually exclusive
>
> The thing is that those options are mutually exclusive only when -r
> specifies non-branch tag.
>
> If there is no other method of tagging branch by date, this should be
> made one.
>
> $ cvs rtag -r BRANCH TEST junk
>
> works like a charm. Probably it's not so hard to extend its
> functionality...
If this is going to happen, I might suggest that it be made to match the
format for 'up -j' (-j<branch>:<date>), both for uniformity and because
there are some commands, such as CVS diff, where -r -D would be
ambiguous (for diff, -r -D -r -D could specify a diff between two dates
on two branches, so does -r -D mean the user wants a single diff between
the local version and a date on a branch or between a branch and a
date? The current operation would provide the latter). Anyway,
-r<branch>:<date> should be usable across the board and some of the code
might already be in place due to the 'up -j' operation.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net CollabNet ( http://collab.net )
--
Tar is not a plaything.
Tar is not a plaything.
Tar is not a plaything...
- Bart Simpson on chalkboard, _The Simpsons_