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

Re: "svn delete" does not warn anymore in some cases

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 4 Feb 2014 12:26:44 +0100

On Tue, Feb 04, 2014 at 11:49:24AM +0200, Florin Avram wrote:
> Hi,
>
> I noticed that SVN 1.8.5 does not give warnings for some situations, when
> using "svn delete" (previously, using SVN 1.7.x, it did):
>
> 1. have a file replaced with a directory in the working copy:
> - svn delete file
> - create new directory, with the same name as the file
> - svn add file (the directory; item is reported as replaced)
> - svn delete file - no warning.
> But, if trying to delete an added file, it warns. Shouldn't be something
> similar in this case, since replaced = deleted + added ?!

I cannot reproduce this. Can you please provide command sequences
and their output instead of a verbal description? Below is what I did.

$ svn --version
svn, version 1.8.5 (r1542147)
   compiled Jan 2 2014, 00:27:30 on x86_64-unknown-openbsd5.4

Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.2
  - handles 'http' scheme
  - handles 'https' scheme

$ svn rm epsilon
D epsilon
D epsilon/zeta
$ echo foo > epsilon
$ svn add epsilon
A epsilon
$ svn st
R epsilon
$ svn rm epsilon
svn: E195006: Use --force to override this restriction (local modifications may be lost)
svn: E195006: '/tmp/svn-sandbox/trunk/epsilon' has local modifications -- commit or revert them first
$
Received on 2014-02-04 12:28:42 CET

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.