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
|
|