Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F6BD18BFB for ; Wed, 19 Aug 2015 15:18:48 +0000 (UTC) Received: (qmail 93819 invoked by uid 500); 19 Aug 2015 15:18:48 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 93792 invoked by uid 500); 19 Aug 2015 15:18:48 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 93782 invoked by uid 99); 19 Aug 2015 15:18:47 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2015 15:18:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 735BEDF2F8 for ; Wed, 19 Aug 2015 15:18:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.65 X-Spam-Level: *** X-Spam-Status: No, score=3.65 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_INFOUSMEBIZ=0.75, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id yrvnG7kWar9u for ; Wed, 19 Aug 2015 15:18:37 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 17A8C205B4 for ; Wed, 19 Aug 2015 15:18:37 +0000 (UTC) Received: by wicne3 with SMTP id ne3so123522537wic.0 for ; Wed, 19 Aug 2015 08:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cdD6HPhwj5Cj2PepUuyzW1tZyFdYq3hAKr+35SjYSe0=; b=oZcNhrswvb4PvxAvNsAlNhxBJ1Lf2IECBpbagfEYpTBiKP1Lx+H3h6xtqiEJveFmCR w+4TG6sOjRDiPjfKij+fgelN34PQ21trmK37y7WVOEmwLl8i7VfHsmph6h80nLM8+cY/ OSuIfvJ5SO1aZI2ip5a0Ed90a6G/fnw2xnXYNECLEERj6NnGrltcoNo8kAHO0Ifp2FUs 8Y7erVdRbmNeVpp+S6YzLkREXH8PPxIjfqnz9iuOKddRZt80UFaN0be0t6OABFbdYM0U 53wwCqn28iKJQeJM+tyScN3hWpMmCM4akvilyWerncdE7ZS5OcZPDG/AfDN9JKEcBv34 Gddw== MIME-Version: 1.0 X-Received: by 10.194.171.9 with SMTP id aq9mr25217054wjc.30.1439997515824; Wed, 19 Aug 2015 08:18:35 -0700 (PDT) Received: by 10.28.126.84 with HTTP; Wed, 19 Aug 2015 08:18:35 -0700 (PDT) In-Reply-To: <55D446B5.7050708@wandisco.com> References: <55D446B5.7050708@wandisco.com> Date: Wed, 19 Aug 2015 17:18:35 +0200 Message-ID: Subject: Re: JavaHL logMessages only one callback From: "corneil.duplessis@gmail.com" To: =?UTF-8?Q?Branko_=C4=8Cibej?= Cc: users@subversion.apache.org Content-Type: multipart/alternative; boundary=089e011608a0688704051dab8cdd --089e011608a0688704051dab8cdd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, the following worked and only difference was the order of the callbacks. RevisionRange(Revision.getInstance(0), Revision.HEAD) RevisionRange(Revision.HEAD, Revision.getInstance(0)) Corneil du Plessis about.me/corneil On 19 August 2015 at 11:04, Branko =C4=8Cibej wrote: > > On 19.08.2015 10:48, corneil.duplessis@gmail.com wrote: > > I am trying to find change history and thought that using logMessage will > > provide the information. > > > > I am using a call as descibre below: > > > > pegRevision =3D Revision.HEAD, > > ranges =3D [RevisionRange(Revision.HEAD, Revision.START)] > > stopOnCopy =3D false > > discoverPath =3D true > > includeMergedRevisions =3D true > > props =3D [REV_LOG, REV_DATE, REV_AUTHOR] > > limit =3D -1 > > > > May callback function is only called once with the last commit information. > > > > I tried: > > stopOnCopy true and false > > limt -1, 0, 1000 > > includeMergedRevisions =3D true and false > > ranges with RevisionRange(Revision.START, Revision.HEAD) > > > > I never receive more than one callback. > > I really wish you'd shown actual code, not some description of code ... > it's easier to understand. > > > > Then I tried something different: > > > > determine maxRev after previous list operation. > > > > ranges =3D RevisionRange(maxRev + "-0") > > > > and now I get all the versions. > > > > It seems as if the RevisionRange(Revision.HEAD, Revision.START) is not > > being treated as expected. > > > Actually, it is, but Revision.START is really badly documented ... it's > the same as Revision.UNSPECIFIED and it's only useful in some limited > contexts. > > You could try using RevisionRange(Revision.HEAD, Revision.getInstance(0)) > > -- Brane --089e011608a0688704051dab8cdd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, the following worked and only difference was the o= rder of the callbacks.

RevisionRange(Revision.getInstance(0), Revisi= on.HEAD)
RevisionRange(Revision.HEAD, Revision.getInstance(0))

<= br>=C2=A0
Corneil du Plessis
abou= t.me/corneil
=C2=A0

On 19 August 2015 at 11:04, Branko =C4=8C= ibej <brane@wandisco.com> w= rote:
>
> On 19.08.2015 10:48, corneil.duplessis@gmail.com wrote:
> > I am try= ing to find change history and thought that using logMessage will
> &= gt; provide the information.
> >
> > I am using a call as= descibre below:
> >
> > pegRevision =3D Revision.HEAD,> > ranges =3D [RevisionRange(Revision.HEAD, Revision.START)]
&g= t; > stopOnCopy =3D false
> > discoverPath =3D true
> >= ; includeMergedRevisions =3D true
> > props =3D [REV_LOG, REV_DATE= , REV_AUTHOR]
> > limit =3D -1
> >
> > May callb= ack function is only called once with the last commit information.
> = >
> > I tried:
> > stopOnCopy true and false
> &= gt; limt -1, 0, 1000
> > includeMergedRevisions =3D true and false=
> > ranges with =C2=A0RevisionRange(Revision.START, Revision.HEAD= )
> >
> > I never receive more than one callback.
>=
> I really wish you'd shown actual code, not some description of= code ...
> it's easier to understand.
>
>
> &g= t; Then I tried something different:
> >
> > determine ma= xRev after previous list operation.
> >
> > ranges =3D Re= visionRange(maxRev + "-0")
> >
> > and now I ge= t all the versions.
> >
> > It seems as if the RevisionRa= nge(Revision.HEAD, Revision.START) is not
> > being treated as exp= ected.
>
>
> Actually, it is, but Revision.START is reall= y badly documented ... it's
> the same as Revision.UNSPECIFIED an= d it's only useful in some limited
> contexts.
>
> Yo= u could try using RevisionRange(Revision.HEAD, Revision.getInstance(0))
= >
> -- Brane
--089e011608a0688704051dab8cdd--