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

Re: SVNLOOK tree strictly obeying the version

From: hud <jhuddleston_at_hughes.net>
Date: Mon, 2 Jun 2008 20:26:40 +0000 (UTC)

Daniel

Thank you for your reply. Yes, I will send some supporting data when I
return from travel next week. Thanks also for the note on the patches;
I had looked around for the policy. I will follow guidelines next
time.

John Huddleston

----Original Message----
From: d.s_at_daniel.shahaf.co.il
Date: 06/01/2008 10:40
To: "John Huddleston"<jhuddleston_at_hughes.net>
Cc: <dev_at_subversion.tigris.org>
Subj: Re: SVNLOOK tree strictly obeying the version

John Huddleston wrote on Sat, 31 May 2008 at 06:59 -0600:
> Hi,
>
>
> 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.
>

Can you provide a recipe (starting with an empty repository) that
causes
svnlook to produce spurious data? Or at least, explain to us what the
bug
is, before you start fixing it :)

By "recipe", I mean a script of the form:

        svnadmin create repos
        svn co `pwd`/repos wc
        cd wc
        ### make some commits
        svnlook tree ../repos -r REV

Thanks,

Daniel

P.S. For reference, please read
http://subversion.tigris.org/hacking.html#patches. Following the
guidelines there makes it easier for us to process your patch, which
makes
it more likely that it will be applied.

>
>
> 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
Received on 2008-06-02 22:27:01 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.