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

Re: bug in mixed-version detection + single-file externals

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 22 Feb 2011 21:09:39 +0200

Jason Sachs wrote on Tue, Feb 22, 2011 at 12:02:55 -0500:
> > svn: Unrecognized format for the relative external URL 'blah.txt'.
> > 4
> > ]]]
> >
> > I'm not sure what causes this, but for reference here's the output of
> > 'svn help propset' from trunk:
>
> I had to use "blah.txt -r 3 ^/foo/trunk/blah.txt" rather than "-r 3
> ^/foo/trunk/blah.txt blah.txt" as it wouldn't work as a command-line
> argument. Perhaps someone can help me rewrite.

Having fixed that (the fix was to use "--" in argv), I get this output
with your second script:

...
Fetching external item into 'w_bar/blah.txt'
svn: URL 'file:///tmp/svn/repos/foo/trunk/blah.txt' refers to a file, not a directory
['svnversion', 'w_bar']
7
['svn', 'merge', '--reintegrate', 'file:////tmp/svn/repos/bar/branches/br1', 'w_bar']
--- Merging differences between repository URLs into 'w_bar':
A w_bar/hohum.txt
...
Received on 2011-02-22 20:15:02 CET

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.