Re: update a file automatically upon committing another file.
From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Wed, 25 Nov 2009 08:10:53 -0600
On Nov 23, 2009, at 06:54, kalhan wrote:
> I want to know, if the below requirement is possible in subversion.
That depends on what you mean.
If you want a and b to be identical, then you could use svn:externals (if you're using Subversion 1.5 or greater on the client). Or you could use symbolic links (as long as you're not using Windows on the client).
If you mean that when you make a change to a, you want some other related change to occur in b, but files a and b will not be identical, then you would have to script that using a post-commit hook script. The hook script would have to maintain a server-side working copy in which to make your desired changes, then commit them.
------------------------------------------------------
Please start new threads on the <users_at_subversion.apache.org> mailing list.
|
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.