Re: Fwd: Unregist a folder to CVS

"Gabriel Genellina" <gagsl-tort-/[email protected]>
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
En Tue, 03 Nov 2009 09:11:30 -0300, Cristobal Fresno Rodríguez
<cristobalfresno-Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> escribió:

> Hi Gabriel,
> The concrete problem is like this:
> I have a module whose parent directory is Data, and some of the child
> directories are add to CVS and some ignored. For example
> Data (module father)
>      |---MicroArrays (added to CVS)
>      |---Ontology (added to CVS)
>      |        |--------iTraqSamples(added to CVS)
>      |        |--------Test (ignored from CVS)
>      |----Test (added to CVS)
>
> So, how do I remove Test from the CVS server without errasing the  
> content of
> the directory from my computer? In other words, can I change the Test
> forlder to be ignored from CVS ones it has been added?

Ok. The idea is to delete all files from the directory, and tell CVSNT to
ignore its contents. Then restore the original files.

- Copy the Test folder somewhere else, unrelated to any other CVS folder.
This is your backup.

- Create a .cvsignore file inside Test, containing this single line: *.*
One way is using the console: open a CMD console, CD to the Test
directory, and type:
echo *.*>.cvsignore
Another way: create a new file in the Test folder, no matter which. Right
click on it and choose "CVS Ignore" from the Tortoise menu. This will
create the .cvsignore file; open it with notepad, remove all its contents,
leaving only a line with: *.*

- "CVS Add" the .cvsignore file, in case it was not already added.

- Select all files in the directory (but not the .cvsignore file, neither
the CVS subdirectory) and choose "CVS Remove". This will remove the
complete directory contents.

- "CVS Commit" the entire directory (the dialog box should display all
removed files, plus .cvsignore)

- That's all. Copy all the directory contents from your backup, but don't
copy the CVS subdirectories. TortoiseCVS will ignore this Test directory
           from now on.

-- 
Gabriel Genellina

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.