From users-return-27806-archive-asf-public=cust-asf.ponee.io@subversion.apache.org Tue Feb 19 18:01:07 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C033618060E for ; Tue, 19 Feb 2019 19:01:06 +0100 (CET) Received: (qmail 35795 invoked by uid 500); 19 Feb 2019 18:01:05 -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 35781 invoked by uid 99); 19 Feb 2019 18:01:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2019 18:01:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AFDC41835F3 for ; Tue, 19 Feb 2019 18:01:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.801 X-Spam-Level: ** X-Spam-Status: No, score=2.801 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 8ay6ww0uB--l for ; Tue, 19 Feb 2019 18:01:03 +0000 (UTC) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 0AD8A5FB94 for ; Tue, 19 Feb 2019 18:01:03 +0000 (UTC) Received: by mail-ot1-f42.google.com with SMTP id i20so35814259otl.0 for ; Tue, 19 Feb 2019 10:01:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cpc+7B+Bsp1de7KT/6vUbVrVFZlRWEQbRgRq2UNMmWc=; b=NQj1iixPGaEfi++nsavqq0koj0qYOx8ePN53nZtIKW7agJrGw79Os+FwnKCjSzoXhF jurT1DwKMH5Kl/1dODLgDkH8vbSAUX0gRKKP/lX1AmzJDxoiRQNu0/ydUU0zTF0mGbOo UwfLJeBq2tUhyrPsvuRYhsQ6E9+bT0p973KQxArO5bMqJuhpyu2qPKOQO3N2+fmg5jPV mVX1LdP3kZVdZZWi3/fHIuavN0BLajs/I7fcTav1M5uZFe81oSreNofWrAxMH7hKYsvw uJ5K0xywur7/TOus7XChlFI4weTkx/o+qeA84LYdAq1a/bSj64B3pBAruuiVbdn4NsQx lFjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cpc+7B+Bsp1de7KT/6vUbVrVFZlRWEQbRgRq2UNMmWc=; b=YpyvRyUVYHvGWXoYFxkpZ+sQ4ZUHtV+MnV5+rurR3IaDRYpumAw/4k71Et2VPK2wuE Cae6WjFQE6MUq6O/ZvLR47JsYP+gmjUEHW4PVl/rBTKRpMVrKSjvao4aikq2E2TSbMUt xneoiiyh66ghp5YMTzJW/ruViqztg1njdGUrc+fKXJ/mnqzrqTXel7sSCrY/qO6GDcAA tJf3+x9hyPCFK+bmgNoazfiMlXdY1QgtCxPFdNx0hnYs+Q+Fiv54558irC45nSh/MiwQ 2dQR/qS4ETwbYvhq2BHOSvKIvKpN6SJsCea6bj8PuxdBU5b3k4/g8pFsTV6EfCdwU1zw y1Tg== X-Gm-Message-State: AHQUAub78TLSWLJMUU1Te1+dZ6yEzGHgwYALbskiPORGEHVMM5McOv3V pk7s6RlgWkIn/ne/olXzipeSPWC8ljaEADcnKPQrqRs6 X-Google-Smtp-Source: AHgI3IaXAgZtE8XueEqFuw+94eQOG12BWRgjelByKMqWDm/qLrl65ONzwtoB13aIZtXkZ8xyBvaRhv4wDQHT+pElH/s= X-Received: by 2002:a9d:5e18:: with SMTP id d24mr19166968oti.330.1550599262201; Tue, 19 Feb 2019 10:01:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mark Phippard Date: Tue, 19 Feb 2019 13:00:50 -0500 Message-ID: Subject: Re: SVN keyword replacement To: Pavel Lyalyakin Cc: Scott Bloom , "users@subversion.apache.org" Content-Type: multipart/alternative; boundary="000000000000366e0805824306dd" --000000000000366e0805824306dd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 19, 2019 at 12:55 PM Pavel Lyalyakin < pavel.lyalyakin@visualsvn.com> wrote: > Hello Scott, > > On Tue, Feb 19, 2019 at 8:41 PM Scott Bloom wrote: > > > > Our repository currently uses $HeadURL, and it works as advertised. > > > > However, I would prefer just the file from ^, this way if there is a > branch, and a switch, everyfile wont have to be rebuilt. > > > > The redbooks lists nothing like this, but Im hoping it=E2=80=99s a docu= mentation > issue > > > > Scott > > Could you please show some examples of the desired result? How do you > use the $HeadURL keyword now? Do you want to make $HeadURL show > contents of this file? What '^' file are you asking about? > I assume by ^ he means it the same way that SVN can use this when specifying a URL within the working copy. IOW, he wants the repository-relative path of the file not the complete URL. As long as you are using SVN 1.8 or later you can now define custom keywords. See: https://subversion.apache.org/docs/release-notes/1.8#custom-keywords and http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.keywords.= html It looks like %P is the value you would want to use. --=20 Thanks Mark Phippard http://markphip.blogspot.com/ --000000000000366e0805824306dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Feb 19, 2019 at 12:55 PM Pavel Lyalyakin <pavel.lyalyakin@visualsvn.com> = wrote:
Hello Scott,
On Tue, Feb 19, 2019 at 8:41 PM Scott Bloom <scott@towel42.com> wrote:
>
> Our repository currently uses $HeadURL, and it works as advertised. >
> However, I would prefer just the file from ^, this way if there is a b= ranch, and a switch, everyfile wont have to be rebuilt.
>
> The redbooks lists nothing like this, but Im hoping it=E2=80=99s a doc= umentation issue
>
> Scott

Could you please show some examples of the desired result? How do you
use the $HeadURL keyword now? Do you want to make $HeadURL show
contents of this file? What '^' file are you asking about?

I assume by ^ he means it the same way that SVN= can use this when specifying a URL within the working copy. IOW, he wants = the repository-relative path of the file not the complete URL.
As long as you are using SVN 1.8 or later you can now define c= ustom keywords.=C2=A0 See: =C2=A0https://subversion.apache.org/docs/r= elease-notes/1.8#custom-keywords and=C2=A0http://svnbo= ok.red-bean.com/nightly/en/svn.advanced.props.special.keywords.html

It looks like %P is the value you would want to use.<= /div>

--
<= /div> --000000000000366e0805824306dd--