Hi Howard, there is a good explanation at http://moodle.org/doc/?file=cvs.html. There is no special command for commiting to a particular branch. Rather you switch your copy to that branch and then commit as usual.
Phoe, I understand the document cvs.html very well, I think, but using tortoiseCVS I find the branches very untransparent. I think there's no way you can see wich branch you're working with and comitting too, unless you delete your checkout and checkout again with the branch you want..
Is this correct or have I missed something here ?
Is this correct or have I missed something here ?
I don't know what version of window you have, but on mine it is easy to see what branch a file is from. If in your Windows file explorer you use the "Details" view then you will see a few columns like Name, Size, Type, Date Modified, etc. Well, if you right click on the bar that contains all these headings you can choose a few more, among them "CVS Sticky Tag". If that column says MOODLE_14_STABLE then you are on the stable branch. If it says - then you are on HEAD.
To change from one branch to another you use "Update Special" from the CVS submenu on your right-click menu and then choose the branch on the dialog window that comes up.
I hope this helps. I am not very good at explaining things.
Yes, great! I wasn't aware of the right-click possibility of that bar!
A new world opens!
A new world opens!
If only I had thought about it for oh, about 2 seconds
Thanks Gustav!
Thanks Gustav!
I find the best way to work is to maintain two complete trees/sites checked out. One for stable, one for the development trunk.