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

Re: svnversion utility breaks build

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-01-17 00:18:31 CET

Josef Wolf <jw@raven.inka.de> writes:

> /tmp> svn co http://svn.collab.net/repos/svn/trunk svn
> /tmp> cd svn
> [ build process skipped ]
> /tmp/svn> subversion/svnversion/svnversion . /repos/svn/trunk
> 4402
> /tmp/svn> cd ..
> /tmp> subversion/svnversion/svnversion svn /repos/svn/trunk

Despite the cd, the svnversion relative path is unchanged. Huh?

> /home/jw/local/l/subvers/src/svn/subversion/libsvn_subr/io.c:1751: (apr_err=2)
> svn: No such file or directory
> svn: svn_io_file_open: can't open `.svn/entries'
>
> Summary: When started from outside the WC, svnversion tries to open an
> administrative area in the parent directory of the WC. This breaks the
> subversion build when one choose to have the build directory outside of
> the source directory.

I nearly always build outside the working copy and it has always
worked for me.

$ subversion/svnversion/svnversion ../svn /repos/svn/trunk
4402M
$ cd ../svn
$ ../obj/subversion/svnversion/svnversion ../svn /repos/svn/trunk
4402M
$ cd ..
$ obj/subversion/svnversion/svnversion svn /repos/svn/trunk
4402M

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 17 00:19:17 2003

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

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