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

log -g uses the wrong paths

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-30 01:46:39 CET

So 'svn log URL' (without --stop-on-copy) does this thing where it
traces the path back across history, so not all of the log entries
actually contain the path the user typed on the command line.

log -g ignores that.

Look at libsvn_repos/log.c(do_logs). It does all this fancy stuff to
calculate an array of path_info structs (histories). But then it just
passes plain old 'paths' to send_logs, which tries to calculate
mergeinfo based on the paths the user typed.

This is wrong, and on my branch which actually checks for path
existence for the FS mergeinfo queries, throws an error. (But the
problem is that it is *wrong*, not that it throws an error.)

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 30 01:46:52 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.