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

RE: Feature request: svn clean

From: Bax, Arjen <ABax_at_AEGON.NL>
Date: 2005-03-23 08:30:05 CET

Peter Valdemar Mørch wrote

> Greg Ward gward-at-python.net |Lists| wrote:
> > svn st | awk '/^\?/ {print $2}' | xargs rm -f
> Wups. Beware that this will fail if any filename contains spaces...
> (Because xargs will fail)

Yes, it will fail, but not because of xargs but because of awk's print $2,
which will only print the first non-spaces part of the unversioned files.

Arjen Bax

Violence is the last refuge of the incompetent - Isaac Asimov
Received on Wed Mar 23 08:32:44 2005

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.