Hello all,
I am trying to commit a patch to a file in one of my projects "acta" and I cant seem to get the monstrous program WinCVS to let me do it.
Here is what I get though when I try to patch:
cvs -w commit -f -m "Fixed a comment to make acta xhtml compliant" -- block.tpl.php (in directory C:\Program Files\CVS\contributions\themes\acta\)
cvs [server aborted]: "commit" requires write access to the repository
***** CVS exited normally with code 1 *****
This also does not work for WinCVS: cvs -d :pserver:collectivecolors@cvs.drupal.org:/cvs/drupal-contrib patch < block_patch.patch
When I run the previous command I get: cvs [rdiff aborted]: must specify at least one revision/date!
I am at my wits end here so I am really hoping somebody else out there uses WinCVS... If you think I ought to use a different cvs client please let me know.
I have read http://drupal.org/patch/apply and the info there just doesnt seem to work in WinCVS.
Please advise, Derek
Comments
Well, in lieu of any advise
Well, in lieu of any advise about the monstrous WinCVS, I suppose I am going to see if Zend Studio is any better. I am thinking that it should be as it is supported by a fairly large institution.
As a newbie with CVS, I would like to warn others that WinCVS is very difficult to use as many of the commands that are listed in the cvs handbook here at Drupal doesn't seem to be WinCVS compatible... I may be wrong about WinCVS but I don't think so in this case.
Another bit of info about the horrors of WinCVS: the manual for how to use it is not kept up to date so instructions may not represent the actual procedures required to do X...
Well, here's hoping that Zend is more capable...
Derek
yuh, it stinks
WinCVS is indeed horrible. I use it a bit for the branch graph function to keep track of versions, but I don't trust it enough to commit anything using it!
I recall it was really hard to enable the authentication the first time - that's your problem it seems.
If I recall, I had to ensure that I had to set a "HOME" environment variable so that CVS would remember where to keep my authentication info.
Control panel - system - advanced - environment variables - add
[path to your documents, with no spaces in, eg "g:\mydocu~1" ]
restart wincvs. Possibly the machine, I dunno
Eventually cvs creates a .cvspass file in your home dir, and your passwords become used.
I probably left out a step, which was probably logging in once from the commandline to initialize things...
However, winCVS still has it above my IDE - eclipse - which also has CVS integration. WinCVS can handle nested projects, and modules from different repositories in the same place. Eclipse doesn't, and that just breaks it for my WRT having Drupal core and Drupal Contribs and My devel in the same 'project'. Maybe that's improved recently. I'll check
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Thanks for the info, but
Thanks for the info, but I've had no luck as of yet. It seems that WinCVS forgets that I have logged in every time I try to commit. After I try to commit I see at the bottom of this monstrous program that it seems to have attempted to commit with annonymous:anonymous...
Do you know of any way to force it to create the cvspass file? I set up a "HOME" environment variable, however it does not seem to take.
I am thinking of traveling down to Louisiana to find a witch doctor to cast a spell on WinCVS so that it will work.
I am truly surprised that I don't find more people having this same problem though. I did a search on Drupal for relevant posts and I didn't find too much...
Thanks for your help.
Derek