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

Re: [PATCH] Peg revision support for svn:externals

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-03-08 18:15:27 CET

C. Michael Pilato wrote:
> Hyrum K. Wright wrote:
>> Well, after playing around with that, and running into a few deadends,
>> another thought occurred to me. Instead of inventing a new syntax, why
>> don't we just set the peg revision equal to the provided revision if no
>> peg revision exists, and apply the normal resolution rules when a peg
>> revision is given? This would maintain backward compatibility, without
>> having to introduce another syntax.
>
> I considered that, too, but I thought the whole point was to get externals'
> syntax to match that of 'svn checkout'? At least, that's always been a goal
> of *mine*. By making 'URL -rN' mean one thing (URL@N -rN) for externals and
> another (URL@HEAD -rN) elsewhere, you've introduced a subtle bit of
> inconsistency that merely complicates things for users.

Good point, and that inconsistency would be a Bad Thing. Scratch that
idea. I've got the "-rN URL@M PATH" syntax finished, and I'll commit it
later today.

-Hyrum

Received on Thu Mar 8 18:15:43 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.