Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Subversion, trunk -> revert -> save problem

Posted on 2013-01-06
1
Medium Priority
?
420 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 1500 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

610 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