Reputation: 115
In our small class group, we've had a stuffup with subversion (we are still learning how to use it properly). Basically, the whole last revision is bogus.
What I would like to do is make the next revision an exact copy of what is on my local computer - the files that are on my computer are on the server, and the files that aren't on my local computer aren't in this revision.
What I was going to do is reset the repository and start from scratch, but I don't want to lose our last revisions.
Using TortiseSVN and Google code, how can I accomplish this task?
Upvotes: 0
Views: 188
Reputation: 26873
I'm not sure I understand what you want. You can use 'revert changes from this revision' in Tortoise log window do undo changes from revision(s). This will undo the changes in your working copy and you'll have to commit them.
If your working copy contains changes that you'd like to save you have more the one option.
Upvotes: 2
Reputation: 2300
First of all, you cannot not "reset the repository" short of deleting the repository backing store, which, in case of Google Code you cannot do anyways.
Even if you delete all the files and directories from the repository, the history and old revisions are there.
Second, just checkout the HEAD from the repository into separate directory, and replace every data file with your local version. Be careful not to touch .svn directories.
BTW: those are two different solutions: one to delete everything and start from scratch, while the second is doing this semi-manually.
Upvotes: 0