Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2012 10:18:48 -0500
From:      Bryan Drewery <bryan@shatow.net>
To:        Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Cc:        FreeBSD Ports Mailing List <ports@freebsd.org>
Subject:   Re: svn, ports and $FreeBSD$
Message-ID:  <5051F958.4090004@shatow.net>
In-Reply-To: <5051F671.3050605@yandex.ru>
References:  <5051F671.3050605@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/13/2012 10:06 AM, Ruslan Mahmatkhanov wrote:
> 
> Hello,
> 
> while committing an update for sysutils/ldap-account-manager I got this
> message:
> 
> """
> Sending        Makefile
> Sending        distinfo
> Sending        pkg-descr
> Sending        pkg-plist
> Transmitting file data ....svn: E165001: Commit failed (details follow):
> svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
> Path "head/sysutils/ldap-account-manager/pkg-plist" does not have a
> valid $FreeBSD$ string (keywords not disabled here)
> == Pre-commit problem count: 1
> 
> svn: E165001: Your commit message was left in a temporary file:
> svn: E165001:    '/home/rm/learn/free/000/sysutils/svn-commit.tmp'
> """
> 
> I already got this error once before, but now I decided to ask what is
> wrong. Why this hook doesn't whining most of the time (most of the
> pkg-plist's I had ever svn-committed were w/o $FreeBSD$ line) and why it
> complains now. What's is the best practice regarding this line in
> pkg-plist's? Thanks.
> 

This is how to fix:

# svn propdel svn:keywords pkg-plist
# svn propset fbsd:nokeywords yes pkg-plist

The plist should not have the keywords.

http://wiki.freebsd.org/PortsSubversionPrimer has some auto-props you
can use to do this automatically. I've had issues with this working, but
just follow the props as layed out there for the files listed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5051F958.4090004>