Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2004



Tip: Looking for answers? Try searching our database.

mwCVS Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vincent Predoehl - 03 Jan 2004 22:29 GMT
Hello everyone.  I just got CW9 and I am trying to get CVS set up for my
existing project.  I got the CVS Repository correctly set up, and I know
about setting the CVSROOT variable in my login script.  At this point, I can
use CVS from the command line.  I have a weird problem when trying to use
CVS through CodeWarrior.

I am able to Add, Update and Commit from CodeWarrior, but neither the
CodeWarrior Diff or the GNU Diff functions work properly.  I get "An
unexpected error occurred.  The root could not be parsed." in the VCS
Messages window.  I think CodeWarrior is having a problem finding the
CVSROOT variable, but it doesn't make sense that the update, add, and commit
seems to work.  

If someone can tell me how to fix this, please tell me.  Thank you.

Signature

Vincent

Matthew Collett - 03 Jan 2004 22:56 GMT
> I am able to Add, Update and Commit from CodeWarrior, but neither the
> CodeWarrior Diff or the GNU Diff functions work properly.  I get "An
[quoted text clipped - 4 lines]
>
> If someone can tell me how to fix this, please tell me.  Thank you.

I had exactly this problem with Codewarrior Diff, though not with GNU
Diff (I had _other_ problems with that ...).  The fix for me was to add
an explicit ":local:" to CVSROOT: e.g. ":local:/usr/local/cvsrep"
instead of just "/usr/local/cvsrep".  This shouldn't be necessary, since
according to the CVS docs ":local:" is the default, but leaving it out
seems to confuse mwCVS.  

Best wishes,
Matthew Collett

Signature

Those who assert that the mathematical sciences have nothing to say
about the good or the beautiful are mistaken.          -- Aristotle

Mark Thomas - 04 Jan 2004 00:02 GMT
I am also being trying for ages in getting mwCVS to work, but have been
failing also.

I tried adding in ":local:", and all worked, but I also had to remove any
spaces I had in the path. Is there a way to keep the spaces as I tried
"/Volumes/HD\ One/" and "/Volumes/"HD One"/", but neither worked.

Thanks for :local: note, I think CW guys should note this !!!!, or fix mwCVS
:-), as I had to use command line to do my cvs work.

Finally a graphical diff, oh yayyy.

Mark.

>> I am able to Add, Update and Commit from CodeWarrior, but neither the
>> CodeWarrior Diff or the GNU Diff functions work properly.  I get "An
[quoted text clipped - 14 lines]
> Best wishes,
> Matthew Collett
Vincent Predoehl - 04 Jan 2004 00:22 GMT
> I am also being trying for ages in getting mwCVS to work, but have been
> failing also.
[quoted text clipped - 9 lines]
>
> Mark.

Did you ever get your graphical Diff to work then?

Signature

Vincent

Mark Thomas - 04 Jan 2004 10:37 GMT
Yes I did after adding :local: to the CVS/Root files, and removing the
spaces from the paths.

Has anyone got it working with spaces, as I get mwCVS chokes if there are
some.

Mark.

>> I am also being trying for ages in getting mwCVS to work, but have been
>> failing also.
[quoted text clipped - 11 lines]
>
> Did you ever get your graphical Diff to work then?
Vincent Predoehl - 04 Jan 2004 23:03 GMT
> Yes I did after adding :local: to the CVS/Root files, and removing the
> spaces from the paths.
[quoted text clipped - 3 lines]
>
> Mark.

Well, the CodeWarrior Diff works, but the GNU Diff doesn't.  I would rather
use the CodeWarrior Diff anyway because it is better.  The GNU Diff doesn't
seem to find the changes I made for some reason.

Signature

Vincent

Vincent Predoehl - 04 Jan 2004 00:20 GMT
>> I am able to Add, Update and Commit from CodeWarrior, but neither the
>> CodeWarrior Diff or the GNU Diff functions work properly.  I get "An
[quoted text clipped - 11 lines]
> according to the CVS docs ":local:" is the default, but leaving it out
> seems to confuse mwCVS.

I added this to my .profile like you said, but it still does the same thing.
Is there somewhere else I am supposed to do this?  Do I need to recheckout
the files or anything like that?

Signature

Vincent

Matthew Collett - 04 Jan 2004 04:19 GMT
> >> I am able to Add, Update and Commit from CodeWarrior, but neither the
> >> CodeWarrior Diff or the GNU Diff functions work properly.  I get "An
[quoted text clipped - 9 lines]
> Is there somewhere else I am supposed to do this?  Do I need to recheckout
> the files or anything like that?

My definition of CVSROOT lives in .tcshrc, but I doubt that makes any
difference.  I think you do need to check the files out again, because
the CVSROOT is recorded in the CVS data files at checkout time.

Best wishes,
Matthew Collett

Signature

Those who assert that the mathematical sciences have nothing to say
about the good or the beautiful are mistaken.          -- Aristotle

Vincent Predoehl - 04 Jan 2004 09:15 GMT
> My definition of CVSROOT lives in .tcshrc, but I doubt that makes any
> difference.  I think you do need to check the files out again, because
> the CVSROOT is recorded in the CVS data files at checkout time.

OK, rechecking out the files and removing the spaces from folder names
solved the problem.  I had one folder called 'C++ Sources' and 'C++ Headers'
in my project directory.  MwCVS choked on those paths.  Some folders higher
up the directory hierarchy had spaces, but mwCVS was able to handle those
just fine.  Maybe it can only handle on space per path.

This is going to be a nuisance to fix, but at least I got it working now.
Thanks everyone!!

Signature

Vincent

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.