Go to Post There will be violence next year! YAY! - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2008, 08:45
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
CVS won't check in my .mcw file

I've set up TortoiseCVS. I'm using :local: mode, and mounting the repository as a drive on client machines, having checked the policy selection that allows repos on networked drives.

When I check in (commit) the project files, CVS says that "Norm" is not a valid editor of FrcCode.mcw (Norm is the user on the machine doing the checking in). If I uncheck that one file, all other files check in okay.

Any ideas?

FWIW, the repo is on a Win2K machine. The client in this case was an XP machine.

-Norm
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.
  #2   Spotlight this post!  
Unread 28-01-2008, 13:21
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CVS won't check in my .mcw file

I haven't seen that particular error message before, but checking in the .mcw file isn't necessary. It defines things like window positions which isn't important to version control. If you are sharing the repository, everyone should have their own .mcw file.

Edit: found the following in the MPLAB users manual:
Quote:
Do not place the workspace (MCW) or build-state (MCS) files on the repository.
MPLAB IDE needs to be able to write to these files while running.
It's likely that MPLAB has the files locked from editing and that is causing the error message.

Last edited by Joe Ross : 28-01-2008 at 13:36.
  #3   Spotlight this post!  
Unread 28-01-2008, 15:30
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: CVS won't check in my .mcw file

Thanks, that's a big help.

But isn't one of those files the equivalent of a Makefile? If I add new files to the project, but I can't commit the (Makefile), how will the next guy who does an update know that there are new files that go into the build? Won't he have to manually add the new files to the project? And how would he even know that there are new files that should be added?

Maybe I'll get a chance to answer these questions for myself this evening.
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.
  #4   Spotlight this post!  
Unread 28-01-2008, 15:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CVS won't check in my .mcw file

You're thinking of the .mcp file.
That's the one that keeps track of which files are in your project.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 28-01-2008, 19:09
itsnotabigtruck itsnotabigtruck is offline
Registered User
FRC #2002 (TETRA)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Tualatin, OR
Posts: 5
itsnotabigtruck is on a distinguished road
Re: CVS won't check in my .mcw file

Any reason you're using CVS?

We got an SVN repo set up and it's been great - far more modern than CVS also.
  #6   Spotlight this post!  
Unread 02-02-2008, 20:01
gnormhurst's Avatar
gnormhurst gnormhurst is offline
Norm Hurst
AKA: gnorm
#0381 (The Tornadoes)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Trenton, NJ
Posts: 138
gnormhurst will become famous soon enoughgnormhurst will become famous soon enough
Re: CVS won't check in my .mcw file

Why CVS? No great reason, really, except that I was able to convince a colleague from work to come out and set it up as well as the wireless network for the shop. He chose CVS. We're using TortoiseCVS as the interface, which allows us to use it with rightclicks in Explorer instead of a command line interface.

There's a lot of discussion in this forum about the pros and cons of SVN vs. CVS etc. I'm just happy to have something running.

And thanks to Mark Mc. for letting me know that the .mcp file plays the role of the Makefile.
__________________
Trenton Tornadoes 381
2004 Philadelphia Regional Winners
2006 Xerox Creativity Award
---
My corner of the USPTO.
My favorite error message from gcc: main is usually a function
My favorite error message from Windows: There is not enough disk space available to delete this file.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use the data obtain in one C file to another C file? tommy_chai Programming 8 11-01-2008 02:17
CVS in mplab Joohoo Programming 2 01-02-2006 21:35
Video file won't play Cory Chit-Chat 6 19-02-2005 00:41
What CVS program do you use? NoodleKnight Website Design/Showcase 15 22-11-2004 00:27
How do we convert a modified user routines file into a valid .HEX file HuskieRobotics Programming 13 28-02-2004 12:12


All times are GMT -5. The time now is 03:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi