[Insight-users] cvs update

Lorensen, William E (Research) lorensen at crd . ge . com
Sun, 16 Nov 2003 22:26:25 -0500


cvs update -C
will wipe out your local modifications. It will rename your modified code so
that you can get it back,

Bill

-----Original Message-----
From: Bing Jian [mailto:bjian at cise . ufl . edu]
Sent: Friday, November 14, 2003 9:29 AM
To: Mark Foskey
Cc: Insight-Users at itk . org
Subject: Re: [Insight-users] cvs update


Hi, Mark and Simon,

   Thanks a lot. It works.


-- 
Best wishes,
Bing Jian
bjian at cise . ufl . edu


On Fri, 14 Nov 2003, Mark Foskey wrote:

> Just delete (or, to be safe, rename) the files you modified and *then*
> do a cvs update.  It will think those files have been lost and restore
> them from the repository.  It will not assume you meant to delete them
> unless you do a cvs remove command.
>
> Bing Jian wrote:
>
> > Hi, folks,
> >
> >   After I checked out the latest version of ITK, I modified
> > some source files. Now I want to cancel my modification on those
> > files. What should I do? It seems that the command cvs update only
> > attempts to bring my update to the server (since it's timestamp is
> > later, right? ) and of course fails. I am not familar with CVS
> > operations. Can anybody tell me how to overwrite my localcopy using
> > the original files stored in itk repository?
> >
> >   Thanks in advance!
> >
>
>

_______________________________________________
Insight-users mailing list
Insight-users at itk . org
http://www . itk . org/mailman/listinfo/insight-users