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

Re: switch between changes

From: David Faure <faure_at_kde.org>
Date: 2005-07-07 10:27:52 CEST

On Thursday 07 July 2005 10:07, Gábor Szabó wrote:
> While working on a change ocassionally I need to implement some quick fix.
> I can check-out the files again to another directory but as I my setup requires
> other configurations as well (e.g. web server), it is quite a hassle.
>
> Is it possible to somehow switch my workspace back to the last checked-out state
> AND keep my current changes saves somewhere?
> The first part is a revert but how can the second part be solved ?

I usually simply do

svn di > TOREAPPLY
svn revert -R .

<do quick fix>
svn commit

patch < TOREAPPLY
rm TOREAPPLY

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 7 10:32:14 2005

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