[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs: How to get last but one copy, from repository
From: |
Mike Castle |
Subject: |
Re: cvs: How to get last but one copy, from repository |
Date: |
Thu, 14 Jun 2001 23:17:49 -0700 |
User-agent: |
Mutt/1.3.18i |
On Fri, Jun 15, 2001 at 10:56:03AM +0530, Koti wrote:
> commit. So I want to delete the modifications done by last commit.
> How can i do it ? I have no exact idea, I think i can do by cvs update -p
Correct. Specifically:
cvs up -p -r 1.x file.c > file.c
> Can i get last nut one copy in a single cvs update. or i need to update
> once for one file.
Once per file. If it was more than 3 files, it might be worth it to script
it. But for just three, it's easy to just do a cvs stat, see the current
number, and back off one revision.
mrc
--
Mike Castle address@hidden www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc