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

Re: committing local deletions

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Wed, 9 Apr 2008 16:02:29 +0200

On Wednesday 09 April 2008, Ruslan Sivak wrote:
> We have a folder that contains images that are uploaded through the
> web. Sometimes these images are deleted. I have a script that runs
> nightly to commit the changes. It doesn't seem to commit deletions
> properly.
>
> Is there a way to force it to commit deletions? The files were deleted
> through the filesystem and not through svn delete.
>
> Russ

You need to "svn rm" them, otherwise SubVersion can't tell whether you really
want to delete those files or they are missing by accident.

You can easily write a script that parses the output of "svn status" and
call "svn rm" on all files that were deleted on your filesystem (they have
the status "!"

Bye,
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-09 16:02:57 CEST

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.