views:

25

answers:

3

Basically, a 3rd party analyst we brought on to make some improvements to our site decided to edit files directly on the live server threw FTP. Any time we make changes to those pages threw SVN we have PHP parse errors.

Things should be edited threw the SVN and committed. We have our working copies setup so we can edit them how ever we want while having them running under apache for testing. We commit all of our changes to a local repository, then commit from there to the live server.

The code on the live server that causes the parse error has ">>>>> .mine" and ">>>>> .rxxxx", and my question is, how can I revert those files back to before they were edited thru FTP so I can update them threw SVN again?

A: 

The easiest way is just to delete everything and check out a fresh copy.

Michael
Well, having to deal with the symlinking, configuration files, image folder(8gb), and some other things not versioned, committing back to our local repo and then committing that back to the live server was the simplest thing to do. Your solution was next on the list if that didn't work. Thanks for the quick reply too!
Bobby
+1  A: 

Sounds like you have some conflicts, this site may help.

jessecurry
Thanks for that, we ended up making everything work from ftp, and then committing the live server to our local server and then committing that back to the live server which fixed all of the conflicts and allowed us to make changes thru SVN again.We didn't have any changes on the local repo, so merging things there worked without any issues.
Bobby
Awesome, glad you got it all worked out.
jessecurry
A: 

Did you try a svn revert on you server working copy?

svn revert -R
Hardcoded