Question about TortoiseCVS

Question about TortoiseCVS

- Gustav W Delius の投稿
返信数: 9
I am using TortoiseCVS to update my Moodle sandbox. Now I am only interested in the english language. I would like to be able to tell TortoiseCVS to completely ignore all other language directories during updates. Does someone know how I can do that?
Gustav W Delius への返信

Re: Question about TortoiseCVS

- Petr Skoda の投稿
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
I have found this info - it may help.
http://www.cvsnt.org/manual/cvsignore.html

But how to use it?? (store .cvsignore in each subdirectory of lang and ignore *.php *.html??)
Petr Skoda への返信

Re: Question about TortoiseCVS

- Gustav W Delius の投稿
Thanks Petr. If I understand correctly, those .cvsignore files should go into the CVS repository and will then apply to everyone using the repository. So that is not what I want. I want to do something locally on my sandbox to prevent TortoiseCVS from updating those language directories.
Gustav W Delius への返信

Re: Question about TortoiseCVS

- Chardelle Busch の投稿
画像 Core developers
Wouldn't it be nice to have CVS somehow arranged so you could get a version of Moodle where the additional lang directories were separate?  This might be something to think about since Moodle with all of the lang folders is only getting larger and larger.
Gustav W Delius への返信

Re: Question about TortoiseCVS

- Petr Skoda の投稿
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
Yes, you are right. cvsignore works the other way 悲しい
I've spent an hour looking for something like "refuse" file for cvsup under FreeBSD (it does exactly what you want). Seems nobody needs it...

Petr Skoda への返信

Re: Question about TortoiseCVS

- Gustav W Delius の投稿

Thanks Petr for trying to find an answer for me. This at least reassures me that I am not missing some obvious setting in TortoiseCVS. And it is interesting to know that under FreeBSD the feature I am looking for does exist.

Gustav W Delius への返信

Re: Question about TortoiseCVS

- Martín Langhoff の投稿
Gustav,

what you are trying to to is a 'partial checkout', a cvs checkout that skips some directories. It is possible to do, but it is tricky to maintain.

If you just do a checkout and then delete the lang directories you don't want, cvs won't bring them back, unless you do cvs update with the -d option.

Problem is, the -d option will bring in new/missing directories. So you won't get all of lang, but if a new directory is created elsewhere, you won't get it either.

There are a few tricks to manage this situation, but they all really work when you use command line cvs, rather than GUI cvs clients.
Petr Skoda への返信

Re: Question about TortoiseCVS

- Penny Leach の投稿
Well, can't you make a .cvsignore and not commit it, so as to not screw up the repository?

It would be difficult if there is already one as if you just do a commit, it will go along with everything else... but if you make a new .cvsignore and never do cvs add on it, wouldn't that work?

This is guesswork though, I really have no idea.