avatar
remove a module from cvs# Programming - 葵花宝典
r*r
1
To test , I made several directories in my repository, how can I remove those
modules completely?
avatar
t*t
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?

avatar
r*r
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

avatar
t*t
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?

avatar
t*t
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。