由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - remove a module from cvs
相关主题
new to python,问个stupid的问题Perl2exe + Swig or PerlApp+SWIG
Python and C/C++ Questionany way to use regex in Fortran?
Python 如何自动import multiple filesQuick Question about perl module
why I can not import Tkinter?Anybody using Python?
damn, love vert.x精通perl的人都是从事什么工作的?
问个Python的问题Question of building apache module.
bourne shell 问题Question of apache module
看看我这样用git对不对?问个有关Perl Subroutine 转换到Module的问题
相关话题的讨论汇总
话题: 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版参与讨论
相关主题
问个有关Perl Subroutine 转换到Module的问题damn, love vert.x
how to sed from grep output in c shell? (转载)问个Python的问题
Python的script的兼容问题bourne shell 问题
vi一问 (转载)看看我这样用git对不对?
new to python,问个stupid的问题Perl2exe + Swig or PerlApp+SWIG
Python and C/C++ Questionany way to use regex in Fortran?
Python 如何自动import multiple filesQuick Question about perl module
why I can not import Tkinter?Anybody using Python?
相关话题的讨论汇总
话题: remove话题: module话题: files话题: cvsroot