Question

I accidently took an update of my project, and now the updated project has errors(due to partial commiting of code).

How can I undo the update process and get the working copy back.

The working copy contains packages that are from different revisions and I want it exactly as it was before the update.

Do i have to manually update my code package by package to its revision?

or is there any UNDO option??

edit: I dont want to correct the code in the server to working condition. I only need to find the revision of my local code(revision before the update) and revert my local code to that revision.

I am using tortoise svn 1.7.9

Was it helpful?

Solution 3

I don't think there's nothing you can do to restore your working copy into its previous state, apart from doing it manually as you already mention.

Whatever, it isn't clear to me why your working copy contains a manually maintained list of files in older revisions. If those older files are required for current build, anyone else who checks out from the repository (including an automated build process) will systematically obtain the wrong files. Your repository actually lacks some information about current project version.

Is it possible that you actually want those packages somewhere else such as a vendor branch or an external, so that the HEAD revision contains automatically the required versions?

OTHER TIPS

You can revert the code to the stable revision and again commit that to keep svn head to stable version.

You can use "Update item to revision" in the Svn client to Update to any specific revision(previous versions / older revisions). If you have any local modified files that are merged during the update then, there is a chance of conflict.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top