Solved

Subversion, trunk -> revert -> save problem

Posted on 2013-01-06
1
412 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

778 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