CVS Problems

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

CVS Problems

Post by wassup » Thu Apr 10, 2003 11:42 am

I have been following the directions to get the CVS of Macroquest but have not been able to access them?

Could someone make a 'CVS for Dummies' type of post for those of us who seems to be CVS challenged?

I have used CVS before but I just can't seem to get it to work for Macroquest.

Thanks in advance.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Thu Apr 10, 2003 12:24 pm

http://sourceforge.net/cvs/?group_id=54194 has pretty much all you need to know on it--even web based access to the cvs. There are two links on this page also for additional instructions on using cvs.

Do a search for cvs client in a search engine or on download.com and experiment until you find the one you like the best. If you have trouble getting into the cvs using a client, make sure you're typing in the word macroquest as the module to use.

This is one of those things you kinda have to learn by experimenting, but all the basic info is at the above link.

Good luck.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Thu Apr 10, 2003 2:19 pm

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/macroquest login

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/macroquest co .

What happens when run those two commands?

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Thu Apr 24, 2003 2:57 pm

I just wanted to recommend TortoiseCVS for Windows applications such as MQ.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Wed Apr 30, 2003 11:15 am

Ah, for ease of use, TortoiseCVS is pretty simple... however, I seem to have some problems with it. namely, though it appears that everything works properly and the files are in windows text format, (or so my text converter tells me,) there are still some lonely LFs floating around. using a text converter, I can fix them from UNIX->DOS, but that's a pain in the arse and makes the CVS believe I've modified them.

I can't compile them without converting them (LOTS of errors... heck, the makefile has errors when running NMAKE), and was wondering if anyone knows how to fix that in TortoiseCVS? I can't seem to find the setting anywhere.

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Wed Apr 30, 2003 12:54 pm

Valerian wrote:Ah, for ease of use, TortoiseCVS is pretty simple... however, I seem to have some problems with it. namely, though it appears that everything works properly and the files are in windows text format, (or so my text converter tells me,) there are still some lonely LFs floating around. using a text converter, I can fix them from UNIX->DOS, but that's a pain in the arse and makes the CVS believe I've modified them.

I can't compile them without converting them (LOTS of errors... heck, the makefile has errors when running NMAKE), and was wondering if anyone knows how to fix that in TortoiseCVS? I can't seem to find the setting anywhere.
I wonder if this is the reason for the problems I have been having.

I also use TortoiseCVS, and when I open the sln file I get this message:

Solution 'E:\macroquest\Macroquest.sln' and its projects must be converted to the formats used by this version of Visual Studio .NET.

If you choose to convert this solution, all of its projects will be converted as well. Once a solution or any of its projects has been converted, it can no longer be edited, built, or run in previous versions of Visual Studio. If the solution is under source control, it will be checked out automatically. If you choose not to convert this solution, it will be closed.

Convert this solution and all of its projects? [Yes] [No] [Help]


I choose yes, the files are 'converted' with no apparent problems.

However, when I go to look at the source files, every one of them has been changed to a double spaced format. If I remove any of the double spacing I get a huge number of errors when I try to build.

I cannot edit any of the source files in any way either. If I do I get a mass of errors during the build.

If I leave the source files alone and do nothing, I can perform the builds with no errors.

I might try a different means of getting the files (different cvs utility) and see what happens.

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Wed Apr 30, 2003 8:14 pm

that's the exact same problem I'm having, but VS6 doesn't have a mass-file converter... I had to find a 3rd party unix->dos text file converter. if you find an easy to use windows CVS program that doesn't have that problem (or has an option to fix it) PLEASE let me know!

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Thu May 01, 2003 11:00 am

ok, I've read the documentation on all the CVS clients I've downloaded, I know the basics of CVS, but I still can't get a clean source from it. can someone PLEASE point me to a good CVS client for windows that I can use, that I can use that will get all files (including binaries) in the proper formats?

Clawed
a ghoul
a ghoul
Posts: 105
Joined: Mon Jan 20, 2003 6:17 am

Post by Clawed » Thu May 01, 2003 11:36 am

I use TortoiseCVS, and experience the same problem with every line being double-spaced (extra LFs). I have not been able to find an option within the program to fix this, so I have to use a batch converter to fix them, every time I download a new CVS.

This problem only started occuring rather recently; DKAA has made some sort of change that is causing it. It would be great if we could just get the format back to the way it used to be, because some CVS clients just aren't smart enough to fix it for us. :wink:
Clawed

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Thu May 01, 2003 11:56 am

I'd be happy with a batch converter, the converters I've found seem to have bugs and don't fix the files unless I go through one at a time. what converter are you using?

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Thu May 01, 2003 12:33 pm

Clawed, Wassup, I've found a solution to the problem... unfortunately it doesn't lie with TortoiseCVS.
Mckorr wrote:Valerian, try WinCVS. When you check out a module you can tell it to download text files UNIX style, and you won't get that extra linefeed crap.
from http://macroquest2.com/phpBB2/viewtopic ... highlight=

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu May 01, 2003 1:56 pm

Valerian wrote:Clawed, Wassup, I've found a solution to the problem... unfortunately it doesn't lie with TortoiseCVS.
Mckorr wrote:Valerian, try WinCVS. When you check out a module you can tell it to download text files UNIX style, and you won't get that extra linefeed crap.
from http://macroquest2.com/phpBB2/viewtopic ... highlight=
I downloaded it yesterday and also installed Python that it seems to require, but as of today have not been able to get in to download the files with WinCVS.

Just something else for me to fiddle with until I get it set right :)

Clawed
a ghoul
a ghoul
Posts: 105
Joined: Mon Jan 20, 2003 6:17 am

Post by Clawed » Fri May 02, 2003 1:09 am

Yeah, I'll probably have to switch to WinCVS at some point. In the mean time, here is some batch conversion goodness:

http://www.thefreecountry.com/tofrodos/index.shtml
Clawed

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Step by Step guide to download a working source from CVS

Post by EqMule » Fri May 02, 2003 8:16 am

  • 1. First of all get a decent cvs client, I use Wincvs which you can find if you do a google search for Wincvs and download 2. Install it by running setup.exe and click next next and so on...
    3. Run it.
    4. When it starts open Admin -> preferences and on the General tab paste

    Code: Select all

     
    anonymous@cvs.sourceforge.net:/cvsroot/macroquest
    in the 'Enter the CVSROOT' field
    5. In the Authentication field choose the '"passwd" file on the cvs server' option
    6. Now click on the Globals tab and check the box at the bottom which says: 'Checkout textfiles with the UNIX LX (0xa)'
    7. Click ok
    8. Goto menu Admin -> Login and when it asks for a password just press enter
    9. Goto menu Admin -> Command Line... and paste in Code:
    cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/macroquest co macroquest
    and press Enter
    9. the source will now be downloaded to you computer...

for compiling it see my post here http://macroquest2.com/phpBB2/viewtopic ... 3826#13826
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Sat May 03, 2003 11:57 am

ok, I've read the documentation on all the CVS clients I've downloaded, I know the basics of CVS, but I still can't get a clean source from it. can someone PLEASE point me to a good CVS client for windows that I can use, that I can use that will get all files (including binaries) in the proper formats?

I recommend visualCVS