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

[PATCH] Improve error message on copying to unversioned dir

From: Patrick Steinhardt <patrick.steinhardt_at_elegosoft.com>
Date: Thu, 13 Oct 2016 13:17:48 +0200

Hi,

attached a patch to a wrong and confusing error message.

[[
libsvn_client: improve error when copying to unversioned dir

When trying to copy a file to an unversioned (but existing)
directory '/foo/bar', subversion will happily claim that "Path
'/foo/bar' is not a directory", which is obviously wrong. Fix the
issue by instead noticing the user that '/foo/bar' is actually
not a _versioned_ directory.

- subversion/libsvn_client/copy.c:
  * (verify_wc_dsts): improve error messages
- subversion/tests/cmdline/copy_tests.py:
  * (copy_into_missing_dir): adjust expected error message
- subversion/tests/cmdline/input_validation_tests.py:
  * (invalid_copy_target): adjust expected error message
]]

Regards

-- 
Patrick Steinhardt, Entwickler
elego Software Solutions GmbH, http://www.elego.de
Gebäude 12 (BIG), Gustav-Meyer-Allee 25, 13355 Berlin, Germany
Sitz der Gesellschaft: Berlin, USt-IdNr.: DE 163214194
Handelsregister: Amtsgericht Charlottenburg HRB 77719
Geschäftsführer: Olaf Wagner

Received on 2016-10-13 13:24:38 CEST

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