Solved

Subversion, trunk -> revert -> save problem

Posted on 2013-01-06
1
413 Views
Last Modified: 2013-01-16
Hello experts!

Trunk -> made changes to some files -> committed -> noticed that it was mistake -> reverted changes -> made some new changes -> and now I want to commit

The problem is that Subversion wants me to update files before I commit.
But I do not want to update my files because I like them as they are now.

So... what can I do to commit the files the way they are now?

Thank you!

panJames
0
Comment
Question by:panJames
1 Comment
 
LVL 19

Accepted Solution

by:
mrwad99 earned 500 total points
ID: 38750513
What I would do is as follows:

1) Save the files you have changed in their changed state to a different folder, well away from your trunk directory.

2) (Make sure you have done step 1 first!) Revert the changes you have made to the files you copied in step 1)

3) Update the files you reverted in step 2)

4) Copy the files you copied in step 1) over the files you have just updated in step 3)

5) Make sure your commit comment describes what you have done and why!

HTH
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to host SourceAnywhere server 4 226
Problem with Gitlab 5 1,466
Git java eclipse stop tracking .recommenders 3 439
team foundation server 3 76
When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question