info-cvs
[Top][All Lists]
Advanced

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

Re: [FAQ?] revert to current version


From: Pierre Asselin
Subject: Re: [FAQ?] revert to current version
Date: Sat, 18 Feb 2006 01:38:11 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/2.0.3 (i386))

Sergei Organov <address@hidden> wrote:

> [ ... ]  but does anybody know how to
> just get rid of local changes *without* updating the source to the
> latest version from repository?

> $ cvs diff -u foobar | patch -p0 -R

Or maybe
    cvs update -p -r BASE foobar > foobar

If the "BASE" pseudo-tag doesnt work, do
it in two steps

    cvs status foobar   : note revision number
    cvs update -r whatever foobar > foobar

-- 
pa at panix dot com


reply via email to

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