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

Re: [BUG] broken wc from "svn co URL URL wc"

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-03-19 00:34:06 CET

Ed Price wrote:
> I wanted to check out the same repository into two different working
> copies. Ie, I wanted to do "svn co $REPOS wc_1 wc_2". But it seems
> this is not supported. Checking the help, I noticed that checking out
> multiple URLs into one working copy *is* supported. So I decided to
> try, as usual, the Simplest Possible Test...
> Script:
> svnadmin create repos
> svn co file://`pwd`/repos file://`pwd`/repos wc
> svn st wc
> Output (recent trunk; same in FC4 svn 1.2.3):
> $ svnadmin create repos
> $ svn co file://`pwd`/repos file://`pwd`/repos wc
> Checked out revision 0.
> Checked out revision 0.
> $ svn st wc
> subversion/libsvn_wc/lock.c:460: (apr_err=155007)
> svn: 'wc' is not a working copy
> subversion/libsvn_subr/io.c:2483: (apr_err=2)
> svn: Can't open file 'wc/.svn/format': No such file or directory
> $
> OK, that's a weird thing to do. But it's clearly a bug :) Shall I
> file an issue?

Not until one of us can reproduce it. I get different output from you from the
"svn st" command:

? wc

In other words, "wc" is an unversioned item. That's correct; "wc/repos" is the
working copy created by the "svn co" command.

I'm running a recent trunk build (r18945) on SuSE GNU/Linux 10.0.

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 19 00:34:38 2006

This is an archived mail posted to the Subversion Dev mailing list.