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

RE: Re: Invalid change kind in rev file

From: Michael P. Reilly <arcege_at_gmail.com>
Date: Mon, 14 Dec 2009 15:54:57 -0800 (PST)

Quinn Taylor wrote:
>
>> > I traced this down to the new format of the changes file which
>> > now includes node-kinds (e.g. modify-file) which the old svnlook
>> > cannot parse.
>> >
>> > Is this an unsupported configuration or do we need to check a
>> > version number whether or not to write node-kinds to that file?
>
>> If this is true, it sounds like a bug. The Subversion promise is that
>> any 1.x client will work with any 1.x server, and it sounds like
>> you've found a case where this is not true.
>
> Has anyone figured out the cause of this, or happen to know which versions
> of SVN are affected? We've run into this while trying to upgrade our work
> servers from 1.4.4 to 1.6.6, and it causes our pre-commit hooks to fail in
> our test environment. I'm really pushing for the auto merge-tracking
> features in 1.5+ and want to use the most recent version possible, but
> this is a troubling problem. Is there an SVN bug filed for this, and
> hopefully a workaround or patch for the time being?
>

I just ran in the issue myself. It deals with the assumption of the path
being set appropriately in the hooks. The previous manual install of
Subversion (1.5.x) that I was running was installed in /usr/local, the new
install (1.6.x) was from an RPM and installed to /opt/CollabNet_Subversion.
Even with using the CollabNet_Subversion Apache2 server, the PATH does not
automatically include /opt/CollabNet_Subversion/bin. So 'svnlook' looks in
the default path, which includes /usr/local/bin.

I changed my scripts to insert /opt/CollabNet_Subversion/bin at the
beginning of the path and they are now working appropriately.

This would probably be a problem with just about any system that went with
an manual install to an RPM/DEB install. The manual installs (using
configure) typically install to /usr/local, which would get picked up by
default, and the automated installs would install to an application specific
directory, which would need to be added to the path.

-- 
View this message in context: http://old.nabble.com/Invalid-change-kind-in-rev-file-tp23075826p26780284.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2430404
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-15 00:55:42 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.