[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: Ruslan Sivak <rsivak_at_istandfor.com>
Date: Wed, 09 Apr 2008 09:58:48 -0400

Stephen Butler wrote:
> Quoting Ruslan Sivak <rsivak_at_istandfor.com>:
>> Posted this earlier, but didn't seem to come though...
>> --------------------------------------------------
>> 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
> Hello Russ,
> if a versioned file is missing because it has been deleted through the
> filesystem, run 'svn update' on the parent directory to restore the file,
> before running 'svn del' and 'svn commit'.
> Alternatively, you could run 'svn revert' instead of updating, if there
> are no other local changes. See
> http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html#svn.tour.cycle.revert
> Regards,
> Steve

Sorry, I didn't make myself clear. I want to commit the deletions to
the repository, not revert the files. I also want this to be done by a
script. Basically i'm looking for something like

svn commit . --commit-deletions


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:19:25 CEST

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