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

Static Revision updates on commit using externals property

From: Scott Nicolson <Scott.Nicolson_at_oscmar.co.nz>
Date: 2007-01-30 22:49:38 CET

We intend to share quite a lot of code using the svn:externals property
but have an issue with the manual task of updating the revision of an
external definition on commit.

 

e.g. I have a project that uses an external library as such:

svn:externals

library -r xxx URL ( where xxx is the revision number of the repository
and the URL is the repo address)

 

If I make changes to the files at this external link in my project and
commit the files the revision in my externals definition still points to
the incorrect revision now as it is not automatically updated. I have
to manually update this and then do a second commit.

 

Two problems exist, one is the manual task of updating is unpleasant,
and two there is a revision of code in the repository that is not
entirely correct (the first commit without the updated external
definition).

 

Is there an automated way using tortoise (or other) to accomplish the
automatic update of the revision?

Is it possible (if there is an automated way) to do the process in one
step, meaning only one commit?

 

If anyone has a better suggestion on how to share code, please let me
know.

 

Thank you,

Scott Nicolson
Received on Tue Jan 30 23:03:20 2007

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

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