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

Re: Is it safe to remove deleted and no longer used branches from the svn:mergeinfo property?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 05 Jun 2017 21:08:27 +0000

Alfred von Campe wrote on Mon, 05 Jun 2017 16:34 -0400:
> On Jun 5, 2017, at 14:14, Daniel Shahaf wrote:
>
> > 'make svn-mergeinfo-normalizer' will build the tool. It can be run
> > in-tree, or you can run 'make install-tools' to install it.
>
> Hmm, I don’t see a Makefile in ^/subversion/trunk/tools/client-side/svn-mergeinfo-normalizer
> or its immediate parent directories, so I checked out the entire Subversion trunk, and then
> had to do a “sh autopen.sh” followed by ./configure. Now it’s complaining about “no suitable
> APR found”. I think I’m going down a bit of a rathole… I don’t need/want to build all of
> Subversion; I really only want to check out the svn-mergeinfo-normalizer tool.

What you need to run is:

./autogen.sh && ./configure && make svn-mergeinfo-normalizer

You do need APR libraries for that. (Install the 'apr-dev' package.)

The Makefile you were looking for would be this:

    cc -o svn-mergeinfo-normalizer -I ${prefix}/include/apr-1.0/ -I ${prefix}/include/subversion-1/ -L /usr/lib -Wall -lsvn_{client,wc,ra,delta,diff,subr}-1 -lapr-1 *.c -I ${svnbuildtree}/subversion -I ${svnsrctree}/subversion/include/ && LD_LIBRARY_PATH=${prefix}/lib ./svn-mergeinfo-normalizer --help

... but this command requires ${svnbuildtree} to be to a directory you ran configure in.
Received on 2017-06-05 23:08:33 CEST

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.