Hi,
On 1 November 2010 23:58, Dmitry Gavrilov <dmitryg2002_at_mail.ru> wrote:
> Hello people!
>
> There is a practical (i.e. not rare) situation, and I didn't find an answer in docs.
> We have two repositories - let call them repo1 and repo2. repo2 depends on repo1 in the following meanint. In most cases the changes in the repos are independent, so people may update (working copies) either only repo1, or only repo2, or both. But sometimes it happens that somebody commits changes to both and other people should update their working copies of repo1 too.
>
> The question is - is it possible to automatically notify people which update repo2 that they should update repo1 too?
> Currently we write in repo2 commit log messages something like "requires revision NNN of repo1". But I'd like to see it like that: when people update repo2, TortoiseSVN checks log message and if it contains some special information, then it notifies the user: e.g. a colored message in the update window.
>
> Note, the dependency between repos is not hard, so it should be allowed for the user to do not update repo1 even if it's required by repo2. That's why I talk about notification.
>
Read up on the use of the svn:external property. It can be used to
bring in files from another repository and AFAIK allows you to 'pin'
the revision number too. Updating the property would then
'automatically' bring the external repository to the correct revision.
Note, I have no personal experience with svn:externals, but your
description seems to fit. YMMV though.
--
Regards,
Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2677973
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-11-02 08:01:28 CET