You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Parker <go...@gmail.com> on 2009/04/15 15:41:27 UTC
Possible regression in externals definitions?
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
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1728932
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Possible regression in externals definitions?
Posted by Mark Parker <go...@gmail.com>.
Mike Dixon wrote:
> 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
That makes sense. It's unfortunate that it breaks a large part of my
externals definitions, but I guess the benefits outweigh the issues.
Thanks for your help!
Mark
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1730816
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Possible regression in externals definitions?
Posted by Mike Dixon <mi...@denovosoftware.com>.
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@subversion.tigris.org].