[Insight-developers] removing files & pre-commit

Lydia Ng lng@insightful.com
Mon, 26 Mar 2001 16:00:42 -0800


I got around this problem by:

1) move the file to a temporary directory
2) do cvs remove myfile
3) move the file back - to let pre-commit check it
4) do cvs commit
5) remove the files from working directory

Lydia

> -----Original Message-----
> From: insight-developers-admin@public.kitware.com
> [mailto:insight-developers-admin@public.kitware.com]On Behalf Of Bill
> Lorensen
> Sent: Monday, March 26, 2001 3:36 PM
> To: lng@insightful.com; 'Lorensen, William E (CRD)';
> insight-developers@public.kitware.com
> Subject: Re: [Insight-developers] removing files & pre-commit
> 
> 
> I'll have to look into that tomorrow. You try an update. Then 
> add the newline at the end. Then a commit.
> 
> Bill
> 
> At 03:09 PM 3/26/01 -0800, Lydia Ng wrote:
> >Hi,
> >
> >I have moved mutual information registration over
> >to the new registration framework.
> >
> >I am now trying to get rid of the old files
> >but pre-commit is blocking me - see below
> >I should I go about removing the files?
> >
> >Cheers,
> >Lydia
> >
> >plum:lng:131% rm itkMutualInformationTest.cxx
> >plum:lng:132% cvs remove itkMutualInformationTest.cxx
> >cvs server: scheduling `itkMutualInformationTest.cxx' for removal
> >cvs server: use 'cvs commit' to remove this file permanently
> >plum:lng:133% cvs commit -m"ENH: moved mutual information to new
> >registration framework. This test no longer required"
> >itkMutualInformationTest.cxx
> >grep: itkMutualInformationTest.cxx: No such file or directory
> >tail: itkMutualInformationTest.cxx: No such file or directory
> >==========================================================
> >itkMutualInformationTest.cxx has does not end with a 
> newline. A newline must
> >be added before you can commit it.
> >==========================================================
> >cvs server: Pre-commit check failed
> >cvs [server aborted]: correct above errors first!
> >
> >
> >
> >
> >_______________________________________________
> >Insight-developers mailing list
> >Insight-developers@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-developers 
> 
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>