[cvsnt] Re: Reverting by date (need quick help please)

Kevin zzz at zzz.zzz.org
Mon May 3 14:41:48 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


"Glen Starrett" <grstarrett at cox.net> wrote in message
news:c6u44j$mhj$1 at paris.nodomain.org...
> Kevin wrote:
> > I am trying to revert back to the version before the commit, the probelm
is
> > that there is no tag. I am trying to use dates.
> >
> > I have tried these commands on an up-to-date sandbox:
> > cvs update -jHEAD:yesterday
> > cvs update -jHEAD -jHEAD:yesterday
> > cvs update -jHEAD:now -jHEAD:yesterday
> >
Any suggestions why none of these commands worked? Tony?

>
> You could use rtag to tag yesterday, then revert back to that.
> Something like this should work:
>
> cvs rtag -D yesterday LastGoodCode
> cvs up -j HEAD -j LastGoodCode
>
> I think that shoud work.
Good idea! I was pressed for time so I checked out a good copy and copied
the files back over the wrong ones. If it happens again I shall try your
approach out.

>
> I was playing a little with the update yesterday--it seems to be
> behaving strangely to me too, but I might have it's usage wrong??
Anyone else encountered problems? Is this possibly a bug?

>
>
> -- 
> Glen Starrett


-- 
Kevin Agius





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook