[Zope3-dev] Reverting a committed change under SVN

Jim Fulton jim at zope.com
Tue Jun 1 17:22:54 EDT 2004


Tim Peters wrote:

...

>     svn merge -rHEAD:<old_revision> THEFILE
> 
> works too, and I bet that's the intended way.

I much prefer:

   svn merge -r<newrevision>:<old_revision> THEFILE

Otherwise, you could get unlucky and revert some other change.

Note that usiually this end up being:

   svn merge -r<newrevision>:<new_revision-1> THEFILE

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org



More information about the Zope3-dev mailing list