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

Re: Issues with svn copy

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2004-09-21 23:54:38 CEST

So to summarize:
It seems that subversion will only create one folder level deeper than
what is already present.

I noticed something similar when creating a repository, the "book"
claimed that the path to the repository would be created, but really
only the last level would be created by svnadmin. I don't mean to
suggest that it is related to this issue, only that the behaviour was
similar.

The docs were confusing. In terms of general behavior, does subversion
create all intermediate parts of a destination path or must they be
present except for the last level specified?

Scott

On Sep 21, 2004, at 1:34 PM, Greg Goodrich wrote:

> Given a repository:
>
> dev
>   |
>   -- tags
>   |
>   -- trunk
>         |
>         -- Charting
>                 |
>                 -- cp32
>                 |
>                 -- Notebuilder
>         |
>         -- Utilities
>                 |
>                 -- UserMan
>
> All "nodes" are folders in the above tree.
> If I now do the following command:
>
>     svn copy --message "version" $repos/trunk/Charting
> $repos/tags/V4.4.2/Charting
>
> What I get is a V4.4.2 folder under tags, with cp32 and Notebuilder
> folders under V4.4.2.  This seems strange, but not necessarily
> incorrect.
>
> Now, if I run basically the SAME command, with a different source
> "folder":
>
>     svn copy --message "version" $repos/trunk/Utilities
> $repos/tags/V4.4.2/Utilities
>
> ... I have a Utilities folder under V4.4.2.  ... but I would prefer
> it to be consistent with the first situation where the V4.4.2
> directory didn't yet exist.

> A new subtree after running the two commands follows:
>
> tags
>   |
>   -- V4.4.2
>         |
>         -- cp32
>         |
>         -- Notebuilder
>         |
>         -- Utilities

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 21 23:55:07 2004

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.