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

Re: revert --force

From: Tyler Roscoe <tyler_at_cryptio.net>
Date: Thu, 10 Dec 2009 14:57:00 -0800

On Thu, Dec 10, 2009 at 05:14:18PM -0500, David Weintraub wrote:
> shell script. Roscoe "Blame me if you accidentally deleted your files"
> Tyler suggested a little shell script:
>
> svn status | grep '^?' | awk '{print $2}' | xargs rm -rf
>
> And (confession) I too use an extremely similar little ditty if I need
> to clean up my working copy to pure condition. However, I now know the
> next time I do that and I accidentally delete files I wanted to keep,
> I can blame Roscoe.

I had a disclaimer about exercising caution before running that
one-liner, but it was too large to fit in the margin :).

"roscoe"

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2429613

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-10 23:57:58 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.