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

Re: Single-commit import with properties and SVN 1.7

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 22 Aug 2011 12:09:45 -0400

On Mon, Aug 22, 2011 at 12:01 PM, Markus Schaber
<m.schaber_at_3s-software.com>wrote:

> Those steps work nice, but they leave us with a working copy having the
> parent of the project directory as its root, instead of the project
> directory itself. This is why our Code for 1.6 had the "detach" step
> which you left out in your commands, and which won't work with 1.7
> anymore.
>

You said detach was optional before, but that is OK. The conversation has
basically come back to the point I made in the original email.

Nothing has changed about in-place import. That just happens to be the
tecnhique you used for your working copy. Your real issue is that you can
no longer simply detach a working copy in 1.7. That has been discussed on
this list before. You are correct, you can't. For now, there is a Python
script that can be used to do this. Perhaps in a future release there will
be a formal subcommand.

Finally, keep in mind that I could have begun my recipe like this:

$ svn co --depth-empty url://server/repos/parent
$ mkdir child
$ svn add child
etc...

This would still mean the parent folder is the root of the WC, but it is at
least an empty parent folder if you are trying to avoid having other content
in the WC.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-08-22 18:10:17 CEST

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.