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

Re: Bug in rev 1623 commit_utils.c:do_item_commit()

From: <cmpilato_at_collab.net>
Date: 2002-04-23 07:57:25 CEST

Philip Martin <philip@codematters.co.uk> writes:

> Note that display_dir is totally unrelated to item->path. This occurs
> when I run the command 'svn ci /home/pm/wc' from my build directory
> /home/pm/sw/subversion/obj. Then in svn_cl__notify_func path is "" but
> could be almost anything.
> The problem code is libsvn_client/commit_util.c:752
> /* Convert an absolute path into a relative one (for feedback.) */
> const char *path = item->path->data + (display_dir->len + 1);
> which doesn't make much sense.

Your absolutely right.

Question: What would you *like* to see printed in this case? Absolute
paths? Relative paths (like ../../wc/foo.c)? Keep in mind that the
output must be consistent (or at least easily calculable for different
input data) for scriptability purposes.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 23 08:01:10 2002

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