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

Re: 1.5 svn:externals and command line parsing

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-08-22 20:55:00 CEST

Blair Zajac wrote:
> While we're on this subject, the change to support both:
>
> URL DIR (svn <= 1.4)
>
> and
>
> DIR URL (svn >= 1.5 with peg revisions)
>
> never really appealed to me. It seems needlessly complex to support
> these different formats and it's one more thing to people to remember
> that you can have these different formats.
>
> I suggest just going back to
>
> DIR URL
> DIR -rN URL
> DIR -r N URL
>
> and extend URLs to have peg and relative support. The code would be
> simpler and less complex UI for svn users. It would also allow 'svn ps'.

The problem is that URLs that lack peg revisions can't be accurately
interpreted. "-r19 URL" can mean two entirely different repository
locations depending on whether or not the peg revision algorithm in in play.

> To Mike's concern about the inconsistency between the externals format
> and export and checkout, that never bugged me.

This was never about the look of the format. We needed a way to distinguish
the old interpretation from the new. One way to do that was the to add
support for a new syntax. As it turns out, this new syntax makes (for me)
more intuitive sense anyway -- bonus.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Wed Aug 22 20:52:38 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.