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

Re: reverting to a previous version

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-06-07 05:43:37 CEST

On Jun 6, 2007, at 20:53, Mark Farnell wrote:

> Suppose if I would like to permanently revert to a previous
> version, and I ran:
>
> svn update -r<foo>
>
> Then if I want to make this version as the current version for
> future use and I ran:
>
> svn commit -m <message>
>
> However this failed as subversion considers that I made no changes.

Yeah, that's not how it works.

> How can I let subversion know that I would like to copy the
> specified version as the newest version?

You want to read the section in the book entitled Undoing Changes:

http://svnbook.red-bean.com/en/1.2/
svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 7 05:44:32 2007

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