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

svn log <dir> doesn't work.

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2002-03-11 14:46:31 CET

On Friday Ben Collins, Garrett, and I noticed that there is a bug in svn log
when single directory is specified. After looking into it, I found that the
problem is that we call svn_path_condense_targets which returns the dir as the
basename (where we anchor the operation), and nothing for the paths. (As
promised by its docstring). However, due to the code structure, this means
that we never call svn_fs_revisions_changed on the path, and we end up
displaying the log message for every revision.

Try
svn log packages/freebsd
compared with
svn log packages/freebsd subversion/clients/win32/svn_com

In the second case it works right because basename is "." and we call
svn_fs_revisions_changed on the two paths.

I've looked into it a bit, and can't quite figure out how to fix this, but if
anyone else has an idea, speak up.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Mon Mar 11 14:50:09 2002

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.