subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phippard <markp...@gmail.com>
Subject Re: Single-commit import with properties and SVN 1.7
Date Mon, 22 Aug 2011 16:09:45 GMT
On Mon, Aug 22, 2011 at 12:01 PM, Markus Schaber
<m.schaber@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/

Mime
View raw message