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

Re: New 1.5 API to copy/move multiple paths

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Tue, 15 Jan 2008 20:31:08 -0500

"Mark Phippard" <markphip_at_gmail.com> writes:
> In Eclipse, each of my checked out projects lives in the same parent
> folder locally, but that folder is not itself a WC. Essentially,
> these WC's are all disconnected. So this is preventing me from
> copying them all in a single transaction.
>
> For commit, I can workaround this limitation with a hack. Before
> doing the commit, I create a dummy .svn folder in the parent, and then
> delete it after the commit. This does not work for copy. When I try
> the same hack (I actually do svn co --depth=empty to create the .svn
> first) I get a crash. Here is the trace.
>
> So my question is simply whether this restriction that all of the
> folders share a WC parent can be relaxed.

The 1.5 solution to this would be sparse directories: the parent would
be a wc, but at depth-empty or something, and then you'd include just
the subdirs (i.e., projects) you want beneath that.

It sounds like you tried that, but via an unusual route: you already
had the subdirs, and you sort of "inserted" the parent .svn in place
at depth-empty. Of course it shouldn't crash, but I'm not sure I'd
expect it to work either (though it would be nice if it did).

Can you make a script that causes this crash using the cmdline client?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-16 02:32:16 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.