boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - remove a module from cvs
相关主题
new to python,问个stupid的问题
Python and C/C++ Question
Python 如何自动import multiple files
why I can not import Tkinter?
damn, love vert.x
问个Python的问题
bourne shell 问题
看看我这样用git对不对?
Perl2exe + Swig or PerlApp+SWIG
any way to use regex in Fortran?
相关话题的讨论汇总
话题: remove话题: module话题: files话题: cvsroot
进入Programming版参与讨论
1 (共1页)
r*****r
发帖数: 397
1
To test , I made several directories in my repository, how can I remove those
modules completely?
t*****t
发帖数: 72
2
you copied or imported these directories?
To remove from the repo, you can simply deleted them. or tar and
then remove to some other places.

those

【在 r*****r 的大作中提到】
: To test , I made several directories in my repository, how can I remove those
: modules completely?

r*****r
发帖数: 397
3
I imported these directories, so you mean I can go to the repository directory
and just "rmdir" ?I don't need to change any other files, like entries for
modules or sth similar like that?

【在 t*****t 的大作中提到】
: you copied or imported these directories?
: To remove from the repo, you can simply deleted them. or tar and
: then remove to some other places.
:
: those

t*****t
发帖数: 72
4
yes, this should be OK in case you never want them back. and you
never added new stuff about these modules in the admin files, say
all files under $CVSROOT/CVSROOT. then do the following:
rm -rf $CVSROOT/mymodule
while if in other case, you just want to remove a directory and all
its subdiretories under a module, and may recover them later, you should
do sth like:
#goto the working directory, and type:
cd ~/sandbox/mymodule/olddir
#delete all files under current dir/sub-dirs
find . -nam

【在 r*****r 的大作中提到】
: I imported these directories, so you mean I can go to the repository directory
: and just "rmdir" ?I don't need to change any other files, like entries for
: modules or sth similar like that?

t*****t
发帖数: 72
5

Here I mean you did not do anything on files in $CVSROOR/CVSROOT,
which may try to find a link to the module you just deleted, for
example, a script which may use the file in the deleted module although
it's not that usual. For your case, I guess you never touched these files.
So you can just go and delete them. For safety, you should make a bkup
and save it to some other place. Good luck..

【在 t*****t 的大作中提到】
: yes, this should be OK in case you never want them back. and you
: never added new stuff about these modules in the admin files, say
: all files under $CVSROOT/CVSROOT. then do the following:
: rm -rf $CVSROOT/mymodule
: while if in other case, you just want to remove a directory and all
: its subdiretories under a module, and may recover them later, you should
: do sth like:
: #goto the working directory, and type:
: cd ~/sandbox/mymodule/olddir
: #delete all files under current dir/sub-dirs

1 (共1页)
进入Programming版参与讨论
相关主题
any way to use regex in Fortran?
Quick Question about perl module
Anybody using Python?
精通perl的人都是从事什么工作的?
Question of building apache module.
Question of apache module
问个有关Perl Subroutine 转换到Module的问题
how to sed from grep output in c shell? (转载)
Python的script的兼容问题
vi一问 (转载)
相关话题的讨论汇总
话题: remove话题: module话题: files话题: cvsroot