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

Re: 'svn purge' (was: [RFC] 'basic/additional command set')

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-11-05 21:30:32 CET

Rainer Müller wrote:
> Max Bowsher wrote:
> > I am confused. First you ask "what's the purpose of that?", then you
> > proceed to explain exactly what the purpose is - something like "make
> > clean", but which you can confidently rely on to put a working copy back
> > into clean, "just-checked-out" status.
>
> "Just-checked-out" status does remove all added files. His Python script only
> removes files which match the svn:ignore pattern.

Yes. I think removing svn:ignore'd items is the better approach, less
likely to nuke files that the user does not want to vanish.

Max: Just wanted confirmation that the goal is the same and an
opinion on which method is the better.

And to share a script for others to potentially try out.

The script is actually more like 'make distclean' than 'make clean'.
'make clean' usually preserves build configuration files generated by
./configure or the user.

I'd like to make the script do 'make clean' also, fx. by adding a
'svn:no-clean' property to tell the script that when in non-dist
cleaning mode, some files should not be removed. I don't have commit
access to the repository I'm mainly using the script on (TortoiseSVN)
however, so I can't add any properties and thus haven't done that yet.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 5 21:31:11 2005

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.