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

Re: Comments in svn:externals

From: Daniel Torreblanca <regulatethis_at_gmail.com>
Date: Tue, 13 Oct 2009 12:41:01 -0400

On Tue, Oct 13, 2009 at 12:16 PM, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Tue, Oct 13, 2009 at 12:02, BRM <bm_witness_at_yahoo.com> wrote:
>> I'm using svn:externals to link some libraries stored in one section of the repository to projects that use them.
>> In marking releases, I mark a release of the library and project that uses it; and then update the project's tag to use the tag URL for the library to make it clear which version of the library is being used.[1]
>> To make the update, I am copying the lines and updating them to the new location.
>> I would like to be able to save the original lines as a comment stored in the URL.
>>
>> While I am using a more recent client (anywhere from 1.4.6 to the latest 1.6.x), the server is SVN 1.4.2 under Apache2/WebDAV.
>>
>> Is there some way I can turn a line into a comment?
>>
>> I tried prepending a pound (#) but that didn't seem to work.
>> I couldn't find anything in the SVN book, or a quick google search.
>> If this is not supported, I think it would make a good feature to add.
>
> A comment doesn't seem like appropriate data to be storing with an
> external definition. Why not enter it as part of the log message when
> you commit the change to the property?

And even beyond that, I don't see how this would be cleaner or more
straightforward than simply making your external point to a specific
revision, or better yet, point to a tag for the dependency. At least
in that case a simple "svn info" within the external's directory would
easily identify which version is being used. I pretty much always use
tags/specific revisions for externals anyway since I don't want to
deal with unexpected changes in my dependencies, but I'm sure there
are many cases where that wouldn't work.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407201

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-13 23:47:56 CEST

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