[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: Stephen Butler <sbutler_at_elego.de>
Date: Wed, 09 Apr 2008 09:49:29 +0200

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

-- 
Stephen Butler | Software Developer
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
---------------------------------------------------------------------
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 09:51:31 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.