Book a Demo

Author Topic: I encounter a trouble, please help!  (Read 3210 times)

calmman

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
I encounter a trouble, please help!
« on: March 12, 2010, 01:55:09 pm »
I am the beginner of EA. I encounter a trouble, please help.
My version control system is CVS. By the guide of help document
I successfully put my project into CVS and cooperate with others.
But some problem happened. some one checked out the model, and the
guy is lose contact in the weeks. unfortunately, The model which
be checked out by this guy had not check-in. When I wish to edit the
model, EA tell me "The model has checked-out...". the model go into
a dead-lock. no one can edit again unless the disappeared man came back.
If I have some way to force check in or cancel the check out flag?

thank you ! :)

HowardB

  • EA Administrator
  • EA User
  • *****
  • Posts: 55
  • Karma: +0/-0
  • I love YaBBies!
    • View Profile
Re: I encounter a trouble, please help!
« Reply #1 on: March 12, 2010, 05:41:32 pm »
Hello Calmman,

CVS is not as friendly as some other products in the way you have to go about fixing this.

You will need to navigate through the file system where your CVS repository resides and directly edit a file named "CVS\fileattr", within the directory of the CVS module that you are using for your EA project.

So, on your CVS server machine, find the directory that holds your CVS repository, then find the directory that holds the CVS module you are using.
[ You should have specified the module name when performing the intial checkout in CVS, as follows;  
C:\myCVSWorkSpace> cvs -d:pserver:myUserID@ServerName:/cvs checkout moduleName  ]

Once you have located the directory having the same name as your moduleName, then locate the directory "CVS", and finally locate the file "fileattr".

Edit this file.

You should be able to find an entry within the file that looks like this;

FPackage1.xml    _editors=user1>Fri Mar  12 04:33:46 2010 GMT
+localHost01:C:\local\working\copy\directory;
_watchers=user1>tedit+tunedit+tcommit


It is this entry in the "fileattr" file, that makes CVS report the package file as "checked-out".

Remove this line from the file.

Also remove from this file, any other lines (for other files) that include the string "_editors=user1", where user1 represents the CVS userID of your "missing man".

Now go to the local working copy folder on your PC, and update all of the local files, from the CVS repository.  

That is, execute "cvs update -AdR" at a Windows command line, in the local working folder.


EA also records within the project, which packages are checked-out.
The following commands can resynchronize the package statuses with the VC provider.

From within EA, choose "Project | Version Control | Resynch Package Statuses" from the main menu, or right-click the problem package and choose "Package Control | Resynch VC Status".


The packages that were previously checked-out by "missing man" should now be available for check-out by any other user.

I hope that helps.

regards,
Howard.

calmman

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: I encounter a trouble, please help!
« Reply #2 on: March 12, 2010, 05:59:53 pm »
It's very good!!!
thank you very much