Book a Demo

Author Topic: SVN: xml file not locked in working copy  (Read 9000 times)

mcamack

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
SVN: xml file not locked in working copy
« on: December 02, 2016, 09:11:16 am »
I created an SVN server on my desktop and then checked out a working copy there as well. Within EA, I set it up to use SVN and then checked out a package. I opened, edited, closed EA multiple times and performed an SVN commit from the windows file explorer, all without ever checking that package back in. Now, when I try to check in that package it gives me an error saying:

Subversion reports the following error:
svn: E195013:
'filepath\blahblah.xml' is not locked in this working copy

Is there any way to fix this?

mcamack

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: SVN: xml file not locked in working copy
« Reply #1 on: December 02, 2016, 09:17:25 am »
Nevermind, I found out how, but I'm going to post it here if it helps somebody else because I didn't find the answer on this forum.

Search for the xml file in your working copy of the repository, right click and use the SVN menu to Get Lock and use the Steal Locks option. Going back into EA, I was able to check-in now, the program almost crashed, gave me some error message, but now the folder is locked and I can "check out" once again.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: SVN: xml file not locked in working copy
« Reply #2 on: December 05, 2016, 08:12:44 am »
There's also a synch with version control provider option in EA.

In general, version control operations on those files outside of EA will cause some problems.