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

Readding a file now fails instead of warning in svn 1.7

From: Patrick Mézard <pmezard_at_gmail.com>
Date: Fri, 02 Dec 2011 18:51:07 +0100

Hello,

Assuming "a" is already tracked:

  $ svn add a
  svn: warning: W150002: 'a' is already under version control
  svn: E200009: Could not add all targets because some targets are already versioned
  svn: E200009: Illegal target for the requested operation
  $ echo $?
  1

It uses to be:

  $ svn add a
  svn: warning: 'a' is already under version control
  $ echo $?
  0

This breaks the hg to svn conversion part of mercurial convert extension, and danielsh suggested on IRC that I report it (we have a fix on hg side but it makes things a bit more complicated).

FWIW, "hg add" behaves like svn < 1.7.

--
Patrick Mézard
Received on 2011-12-02 18:51:49 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.