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

Re: Problem with svn:externals

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-12-01 02:40:55 CET

Gopalakrishnan, Dinesh wrote:
> Hi,
>
> We are in the progress of migrating from cvs to svn. I am looking at the
> svn:externals as an alternative for cvs modules file.
>
> It seemed to work pretty much as expected, except for the following
> scenario.
>
> I have folder-A, on which svn externals is set in such a way that when
> folder-A is checked out, it would check out folder-B, folder-C and
> folder-D inside folder-A.
>
> $ svn co <url>/Folder-A
> A Folder-A
> A Folder-A/Folder-B
> A Folder-A/Folder-C
> A Folder-A/Folder-D
>
> $ cd Folder-A
>
> when i edit any of the file in Folder-B and do a svn ci from Folder-A,
> it works as expected. However, when i do changes in files in Folder-B,
> Folder-C and Folder-D, and then when i do a svn ci from Folder-A, the
> check-in does not happen.
>
> `svn status` would state files in Folder-B, Folder-C and Folder-D are
> modified. But the commit from Folder-A would not work as expected.
>
> So, my requirement here is that when i do a `svn ci` from Folder-A, i
> want all the changes in Folder-B, Folder-C and Folder-D to be checked-in.
>
> Is this a problem with svn:externals, or is there any workaround for
> this issue?

This is a deliberate design decision with svn:externals to avoid accidental
commits into external locations. It was decided it would be better to be save
then sorry.

Regards,
Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 1 02:41:32 2007

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.