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

SVNLOOK tree strictly obeying the version

From: John Huddleston <jhuddleston_at_hughes.net>
Date: Sat, 31 May 2008 06:59:41 -0600



I was setting up a post-commit svnlog.pl perl script for a customer and they
wanted the viewvc URL of the changed files sent to them via email. During
the process of programming I noticed that the "-r" option to the "svnlook
tree" command returned some spurious data.


I checked out the most recent code from your subversion server and edited
the main.c under http://svn.collab.net/repos/svn/trunk/subversion/svnlook to
print the requested revisions.


I apologize if it is not elegant but this was my first foray into modifying
any of this code. In short, I needed to pass the revision from the
svnlook_ctxt_t and then compare it to the revision in the database.


I've attached an svn diff file with the changes. The work was done on
Windows working under Cygwin.


John Huddleston



To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

  • application/vnd.ms-excel attachment: main.dif
Received on 2008-05-31 15:00:22 CEST

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.