[Top][All Lists]

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

RE: how do I undo local changes

From: Jason Sicotte
Subject: RE: how do I undo local changes
Date: Fri, 8 Jul 2005 18:35:03 -0400

$ cvs -H up
    Usage: cvs.exe update [-APCdflRp] [-k kopt] [-r rev] [-D date] [-j rev]
        -A      Reset any sticky tags/date/kopts.
        -P      Prune empty directories.
        -C      Overwrite locally modified files with clean repository
        ( . . . )
        -W spec Wrappers specification line.

Looks like you want -C

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden On Behalf 
> Sent: Friday, July 08, 2005 6:27 PM
> To: address@hidden
> Subject: how do I undo local changes
> Hi,
> I checkedout a file from a repository for first time.
> i modified it. but i do not want my changes. now i want to do 
> a cvs update to get others changes.
> but i will be asked for merging. i want to avoid that step. 
> even i want to prevent automatic merging
> so i need to undo the changes. in systems like accurev, there 
> is a purge command to discard the local changes.
> but in CVS I only find the cvs admin -o command to revert to 
> older versions. But how can i simply undo the changes 
> locally, without concerning about version?
> meena

reply via email to

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