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 EC20C18FFC for ; Wed, 19 Aug 2015 09:04:59 +0000 (UTC) Received: (qmail 25489 invoked by uid 500); 19 Aug 2015 09:04:59 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 25457 invoked by uid 500); 19 Aug 2015 09:04:59 -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 25447 invoked by uid 99); 19 Aug 2015 09:04:59 -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 09:04:59 +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 BEDC7DF189 for ; Wed, 19 Aug 2015 09:04:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=wandisco.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id wyDNyw8Im7o4 for ; Wed, 19 Aug 2015 09:04:57 +0000 (UTC) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 11FCF428E7 for ; Wed, 19 Aug 2015 09:04:57 +0000 (UTC) Received: by wicne3 with SMTP id ne3so114805286wic.0 for ; Wed, 19 Aug 2015 02:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wandisco.com; s=gapps; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=w6W9pMuxjebcRcLRcAKNhm2AX6DJFKPuteTaOTqJNl8=; b=WcQ2QhMuZLXYD7tsDQWhLp7qqqxY8uwKDvLy7u4W4AOzU5i7Yycns1ekkaVEhNhSuM rMZvuD9ambR1J6Qos4XXsT+/KBIr4jbVhMiViPMrxz1/BieR7o7mpFPOoH9Cbt1UICPQ LDMMd9jPQFlq6gJAqjSsWF3DgDTiLRta+Q9GM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=w6W9pMuxjebcRcLRcAKNhm2AX6DJFKPuteTaOTqJNl8=; b=BmSIldqQ/pbxirP83CT4ZeBEAjbeJFqnafL7XIziHt24UkPT5bGe6afOAvCp3QIBdQ LN2LndnrEi+4laT0CWuKHTVg3lsn0WuYcBiJH8l74LNzNcIPvQNrJQF467wWhuzHeiaa O/84YjG6QhCZt9/wMauJlwvyWbWNMg8M4W85Ijzp/G9vvmlggsM4xnODlgCbgpGX5QM2 1DBzTSUQFYzm4/HNxi5WZqftixkrXkzu8U8v7MhFfe1/AA+m9NCZGChErCQn2L8ILEX1 eyL412h8fW+wK9RTJIWc9et42Dxbu9h3NVdi8JxytdR/zlSir1J8MBBJVLRLp8vWutYj SYig== X-Gm-Message-State: ALoCoQngXqZEmkc4aisuRkszt1LhEPn803D5XqiCnJPrucu6nHHmMbHgpZCAW6C1oz2p6KAbSN7d X-Received: by 10.194.89.98 with SMTP id bn2mr22686832wjb.153.1439975096262; Wed, 19 Aug 2015 02:04:56 -0700 (PDT) Received: from zulu.23.e-reka.si (cpe-46-164-9-209.dynamic.amis.net. [46.164.9.209]) by smtp.gmail.com with ESMTPSA id lg6sm73389wjb.10.2015.08.19.02.04.55 for (version=TLS1 cipher=RC4-SHA bits=128/128); Wed, 19 Aug 2015 02:04:55 -0700 (PDT) Received: from zulu.23.e-reka.si (localhost [127.0.0.1]) by zulu.23.e-reka.si (Postfix) with ESMTP id F0F80F6CFB0D for ; Wed, 19 Aug 2015 11:04:53 +0200 (CEST) Message-ID: <55D446B5.7050708@wandisco.com> Date: Wed, 19 Aug 2015 11:04:53 +0200 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= Organization: WANdisco User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: users@subversion.apache.org Subject: Re: JavaHL logMessages only one callback References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 = Revision.HEAD, > ranges = [RevisionRange(Revision.HEAD, Revision.START)] > stopOnCopy = false > discoverPath = true > includeMergedRevisions = true > props = [REV_LOG, REV_DATE, REV_AUTHOR] > limit = -1 > > May callback function is only called once with the last commit information. > > I tried: > stopOnCopy true and false > limt -1, 0, 1000 > includeMergedRevisions = 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 = 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