You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "rupert.thurner" <ru...@gmail.com> on 2011/08/19 09:31:53 UTC

svn log knows about svn:external

hi,

especially when continuous integration build one option to trigger the
build is if something changed. usually this is easy as the repo
version is increased. is there an easy way to find out if there is a
change considering svn:externals as well?

the only command i was aware of was svn log, but it seems not follow
externals. i also do not know a command which easily displays all
externals contained in a working copy ... which might be easier/
quicker to find out with the new wc format?

rupert.

Re: svn log knows about svn:external

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/8/19 rupert.thurner <ru...@gmail.com>:
> hi,
>
> especially when continuous integration build one option to trigger the
> build is if something changed. usually this is easy as the repo
> version is increased. is there an easy way to find out if there is a
> change considering svn:externals as well?
>
> the only command i was aware of was svn log, but it seems not follow
> externals. i also do not know a command which easily displays all
> externals contained in a working copy ... which might be easier/
> quicker to find out with the new wc format?
>

Catch output of "svn up" into a file and see whether some changes are
mentioned in it. By the way, this command lists all externals as well.

If you want to trigger a build when something changes in repository -
use a post-commit hook at the svn server.  One option is to use the
hook to publish info into mailing list and watch that mailing list. ;)

Best regards,
Konstantin Kolinko