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

Re: Cleaning up work area with svn

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-04-09 15:41:43 CEST

Bas Mevissen wrote:

> Peter S. Housel wrote:
>> If the former, I use the following "svnpurge" script:
>> #!/bin/sh
>> svn st --no-ignore \
>> | perl -n -e 'if(/^[I?].{6}(.*)$/) { print "$1\n"; unlink $1; }'
>> Perhaps this could be added to contrib/client-side.
> I would propose to have this functionality added to the client. Then you
> can check if you didn't forget to add or delete files from the repos
> before committing.

What functionality are you proposing exactly? The above sample code _deletes_
files not under source control, which is (IMNSHO) _never_ something that the svn
client should support, at least without --force, and a confirmation prompt that
requires typing a random 33 character string. ;)

If you just want to check if you have files that are not checked in, 'svn
status' works just fine, thanks! I'm confused what you want...


John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 9 15:41:38 2004

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

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