Solved

Subversion, trunk -> revert -> save problem

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Team Foundation Server 2 314
GIT and storing DBs 7 119
What is the best alternative for SharePoint ? 3 158
How do you update a local branch with the local master in git 3 40
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now