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

Re: Possible regression in externals definitions?

From: Mike Dixon <michael.dixon_at_denovosoftware.com>
Date: Wed, 15 Apr 2009 10:26:20 -0700

Hi Mark,

Mark Parker wrote:
> In subversion 1.5, (on windows) one could declare an external like this:
>
> http://svn/repos/some_path external_dir\inner_dir
>
> ... and subversion would happily check out http://svn/repos/some_path
> into external_dir\inner_dir as an external. In 1.6, however, the
> external gets checked out into external_dirinner_dir (the \ gets
> ignored). If the external is changed to:
>
> http://svn/repos/some_path external_dir/inner_dir
>
> ... the checkout of the external proceeds as expected. I don't know
> whether this is a regression in 1.6, or whether the 1.5 behavior was
> wrong and never guaranteed to work, so I wanted to throw this out and
> see what came back.
>
> Mark

In 1.6 it's now possible to escape characters in externals by putting a
backslash before them. This means that your 'external_dir\inner_dir' now
resolves as 'external_dirinner_dir' because the '\i' in the middle is
converted to just 'i'.

There are some advantages to this (I think you can now use '\ ' to put
spaces in your path now? Not certain.) but the downside is that it
forces everyone to write paths the *nix way.

In other words, it's not a bug, it's a feature. ;)

-Mike

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-15 19:27:28 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.