$ 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
copies.
        ( . . . )
        -W spec Wrappers specification line.

Looks like you want -C

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of MEENA SELVAM
> Sent: Friday, July 08, 2005 6:27 PM
> To: info-cvs@gnu.org
> 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




_______________________________________________
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to