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

[PATCH] issue #2767: Scheduled for addition files are not controlled

From: Stefan Sperling <stsp_at_elego.de>
Date: 2007-07-19 15:50:58 CEST

Hello,

I've implemented what Daniel Rall suggested in his last
comment on the issue:

        'update', on the other hand, should detect this situation
        and provide a more user-friendly error message.

The issue's current summary "Scheduled for addition files are not controlled"
is misleading so I omitted it in the log message.

[[[
Fix issue #2767

* subversion/libsvn_wc/adm_crawler.c
  (svn_wc_crawl_revisions3): Don't try to restore added but missing
  files because they have no text base. Instead, throw an error informing
  the user how to resolve the situation.

]]]

Reproduction recipe and patch attached.
I've also added a test the checks for the expected error message.

-- 
Stefan Sperling <stsp@elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 32 29 71 30
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner


  • application/pgp-signature attachment: stored
Received on Thu Jul 19 15:51:41 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.