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

RE: externals no longer "read only"?

From: Keith Moore <Keith.Moore_at_securency.com>
Date: Tue, 29 Jul 2008 08:51:12 +1000

The svn:externals simply allows you to 'pull' directory's from another repository/directory into the working copy. I don't think it makes the directory's read-only. However, when you do a commit on the main working copy it doesn't traverse into the externals directory's, i.e. it doesn't commit any changes.

I not sure if the behavior has changed between version 1.3 and our version (1.4.6).

We have a policy here that you only reference externals that have been tagged/released. We also have a pre-commit hook that prevents changes on tag branches. That way we can prevent people from accidentally making changes to released software. We're not completely happy with this solution by the way, maybe relative externals offers a better solution but no one has had a chance to investigate there use.

_________________________________________________________________
Keith Moore

-----Original Message-----
From: Erik Hemdal [mailto:erik_at_comprehensivepower.com]
Sent: Tuesday, 29 July 2008 6:40
To: 'David Weintraub'; 'Subversion'
Subject: RE: externals no longer "read only"?

> From: David Weintraub [mailto:qazwart_at_gmail.com]
> Sent: Monday, July 28, 2008 11:19 AM
> Subject: svn:externals no longer "read only"?
>
>
> The last time I used Subversion (version 1.3), any directory
> marked with svn:externals was checked out, but kept "read
> only". That is, you could see the code, but not submit the
> changes. I recently noticed that this no longer seems true.
>
> I am using Subversion 1.5,

I see the same behavior using v1.4.3. If I define an external from a tag,
the externals reference bypasses the pre-commit hook script on the external
repository. If I try to update the tag itself, the pre-commit hook steps in
and prevents it.

I thought that this was due to some stupid mistake on my part or
inexperience with svn:externals. The references I read (I checked the SVN
Book as well as Willam Nagel's and Mike Mason's books) didn't give a clear
picture of what is supposed to happen.

Are svn:externals supposed to be read-only, or do I have to set a specific
property to make it so?

Thanks!

Erik Hemdal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org

#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-29 22:11:15 CEST

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.