[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

reverting single file in multi-file commit

From: Igor Serebryany <igor47_at_monksofcool.org>
Date: 2006-09-28 02:53:04 CEST

Hi,

         I am having the followingn problem, which I will describe in a
scenario. In my working copy, I changed files A, B and C and then
commited the changes. I then realized that file A should not have been
changed. I cannot figure out how to undo the change.

         The folks at #svn pointed me to
http://svnbook.red-bean.com/nightly/en/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo
         However, the example there assumes that the file I would like to
revert was changed in its very own commit. If I follow those
instructions and apply the commit in reverse using svn merge, I would then
have to restore changes to files B and C.

         What makes the most sense to me is to issue
"svn update --revision PREV A"
         in my working copy. However, although my working copy is in the
state that I want the repository to be after this command, "svn commit"
now failes silently.

         Am I going about this all wrong? Or is this a bug, and svn commit
out to do something, or at least give me a message telling me what I did
wrong?

Thanks!

-Igor

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 28 02:53:50 2006

This is an archived mail posted to the Subversion Users mailing list.