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

RE: RE: Re: committing local deletions

From: <nicklist_at_planet.nl>
Date: Wed, 9 Apr 2008 17:08:46 +0200

I've taken a little look in using the autocommit feature of dav_svn and found the following blog, which explains it nicely: http://www.netmojo.ca/blog/2007/05/03/subversion-webdav-osx/

Hth,

Nick S.

-----Original Message-----
From: nicklist_at_planet.nl [mailto:nicklist_at_planet.nl]
Sent: Wed 4/9/2008 16:50
To: Ruslan Sivak; Marc Haisenko
Cc: users_at_subversion.tigris.org
Subject: RE: Re: committing local deletions
 
Maybe it is a possibility to run a dav_svn in front of your repository and make a windows mount to this directory. Now each file action on the directory is a direct action on the subversion repository (thus also causing a commit).

If your delete actions were on this specific directory, you wouldn't need them to commit.

Just a suggestion...

Hth,

Nick S.

-----Original Message-----
From: Ruslan Sivak [mailto:rsivak_at_istandfor.com]
Sent: Wed 4/9/2008 16:29
To: Marc Haisenko
Cc: users_at_subversion.tigris.org
Subject: Re: committing local deletions
 
Marc Haisenko wrote:
> 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
>
Perhaps easily on a *nix filesystem, I'm working with windows... Guess
I'll have to install perl/python to get this to work?

It's so easy in subclipse.. .You just go commit, select all files
(including the deletions) and commit. Wish there was a --force option
or something to svn that would commit local deletions.

Russ

---------------------------------------------------------------------
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 17:10:42 CEST

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