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

[PATCH]: Use more informative error message when trying to switch to a target path that doesn't exist

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-10-28 20:51:29 CEST

While confusing users is always fun, saying "Cannot replace directory
from within" when someone attempts and svn switch to a directory path
that doesn't exist is not very helpful.

The attached special cases the error for when the target entry is
non-existent, so that it says "Target path does not exist" instead.

[[[

   Use more informative error when trying to deal with a target path
   that doesn't exist.

   * subversion/libsvn_repos/reporter.c
     (drive): Check !t_entry first and give more useful message
     when it is NULL.
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Oct 28 20:52:12 2005

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.