Solved

Subversion, trunk -> revert -> save problem

Posted on 2013-01-06
1
414 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
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 …

735 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