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

Re: getting a repository's latest revision

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2004-10-11 17:57:14 CEST

Rob Hills wrote:

>Hi All,
>
>I use ant scripts to build our applications for release. As part of this process, source
>code is exported from the repository to a temporary directory and built.
>
>In my ant script, this process often involves getting files from several different areas of
>our repository and hence involves several "export" operations. To ensure I get a
>consistent build, I use the same revision number for all my exports.
>
>

Other folks have suggested how you might find that revision number, but
you could also try using svn:externals. This allows you to pull
different bits of your repository (or even multiple repositories) into a
single directory. There are minor wrinkles if you want to make changes
and commit them, but it sounds like you just want to do a build and not
commit anything back.

The book has more: http://svnbook.red-bean.com/svnbook-1.0/ch07s03.html

Cheers,
Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 11 17:57:42 2004

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.