You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Purple Streak <mr...@googlemail.com> on 2008/09/22 10:45:06 UTC

Error in merging (bug?)

One of our devs hit a problem today in merging.  We're using SVN1.5.2
on windows (and Tortoise SVN 1.5.3).  I was using the 1.5.2 command
line client however.

We have a project from which I branched off the trunk. I now want to
merge latest from the trunk to my branch so I run...

> svn merge "https://svr-source01/svn/Repo/Current Projects/The Doc/Trunk"

and I get

svn: URL 'https://svr-source01/svn/Repo/Current Projects/The
Doc/Trunk/Engine/TreeViewNode.cs' is malformed or the scheme or host
or path is missing

(I have slightly changed the names in the URLs - but not any spaces for example)

At first I thought it was to do with having spaces, but I tried a
trivial other example to reproduce it with no luck.

So my question is how can I find out what is going wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error in merging (bug?)

Posted by Purple Streak <mr...@googlemail.com>.
2008/9/22 Purple Streak <mr...@googlemail.com>:
> One of our devs hit a problem today in merging.  We're using SVN1.5.2
> on windows (and Tortoise SVN 1.5.3).  I was using the 1.5.2 command
> line client however.
>
> We have a project from which I branched off the trunk. I now want to
> merge latest from the trunk to my branch so I run...
>
>> svn merge "https://svr-source01/svn/Repo/Current Projects/The Doc/Trunk"
>
> and I get
>
> svn: URL 'https://svr-source01/svn/Repo/Current Projects/The
> Doc/Trunk/Engine/TreeViewNode.cs' is malformed or the scheme or host
> or path is missing

Just to complete this thread it looks like this is a bug and it is
being looked at

see http://svn.haxx.se/dev/archive-2008-09/0035.shtml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error in merging (bug?)

Posted by Purple Streak <mr...@googlemail.com>.
2008/9/22 Ryan Schmidt <su...@ryandesign.com>:
> You must percent-encode spaces and other unsafe characters, e.g.:
>
> svn merge https://svr-source01/svn/Repo/Current%20Projects/The%20Doc/Trunk

I'd already thought of that one - same problem comes up. As it happens
I think SVN actually puts the %20 in anyway as you can see from the
access log fragment I posted.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error in merging (bug?)

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 22, 2008, at 5:45 AM, Purple Streak wrote:

> One of our devs hit a problem today in merging.  We're using SVN1.5.2
> on windows (and Tortoise SVN 1.5.3).  I was using the 1.5.2 command
> line client however.
>
> We have a project from which I branched off the trunk. I now want to
> merge latest from the trunk to my branch so I run...
>
>> svn merge "https://svr-source01/svn/Repo/Current Projects/The Doc/ 
>> Trunk"
>
> and I get
>
> svn: URL 'https://svr-source01/svn/Repo/Current Projects/The
> Doc/Trunk/Engine/TreeViewNode.cs' is malformed or the scheme or host
> or path is missing
>
> (I have slightly changed the names in the URLs - but not any spaces  
> for example)
>
> At first I thought it was to do with having spaces, but I tried a
> trivial other example to reproduce it with no luck.
>
> So my question is how can I find out what is going wrong?

At first glance I would say spaces in a URL are not allowed, by  
definition:

http://www.faqs.org/rfcs/rfc1738.html

The space is forbidden under the section about unsafe characters.

You must percent-encode spaces and other unsafe characters, e.g.:

svn merge https://svr-source01/svn/Repo/Current%20Projects/The%20Doc/ 
Trunk



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Error in merging (bug?)

Posted by Purple Streak <mr...@googlemail.com>.
2008/9/22 Purple Streak <mr...@googlemail.com>:
>> svn merge "https://svr-source01/svn/Repo/Current Projects/The Doc/Trunk"
>
> and I get
>
> svn: URL 'https://svr-source01/svn/Repo/Current Projects/The
> Doc/Trunk/Engine/TreeViewNode.cs' is malformed or the scheme or host
> or path is missing
>
> (I have slightly changed the names in the URLs - but not any spaces for example)
>
> At first I thought it was to do with having spaces, but I tried a
> trivial other example to reproduce it with no luck.
>
> So my question is how can I find out what is going wrong?

A little more on this.  I can't find anything at all in the svn.log
(created from a CustomLog bit in httpd.conf) - but there are things in
the access log at least.


172.16.2.8 - - [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 401 401
172.16.2.8 - - [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 401 401
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 200 -
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 207 746
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/vcc/default HTTP/1.1" 207 406
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/bln/294 HTTP/1.1" 207 461
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 207 746
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/vcc/default HTTP/1.1" 207 406
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/bln/294 HTTP/1.1" 207 461
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 207 746
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/vcc/default HTTP/1.1" 207 461
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "REPORT
/svn/Repo/!svn/bc/294/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 200
228
172.16.2.8 - - [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 401 401
172.16.2.8 - - [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 401 401
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 200 -
172.16.2.8 - - [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 401 401
172.16.2.8 - - [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 401 401
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "OPTIONS
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 200 -
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 207 746
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/vcc/default HTTP/1.1" 207 455
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "REPORT
/svn/Repo/!svn/bc/0/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 404
250
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/Current%20Projects/The%20Doc/Trunk HTTP/1.1" 207 746
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/vcc/default HTTP/1.1" 207 406
172.16.2.8 - purple.streak [22/Sep/2008:12:34:54 +0100] "PROPFIND
/svn/Repo/!svn/bln/294 HTTP/1.1" 207 461

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org