Re: Probably bug with svn copy
From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-04-13 08:00:35 CEST
I beleive the sv bahaviour is correct:
On Tuesday 12 April 2005 16:34, Robert S. Sfeir wrote:
> a new repository with the following structure is needed for testing:
You have created a *new* directory 'tags/tag1', which is a copy of
> svn copy myProject/trunk/Dir2/SubDir1 myProject/tags/tag1
You have copied 'trunk/Dir2/SubDir1/' *into* the *existing* directory
> svn copy myProject/trunk/Dir3/SubDir1 myProject/tags/tag1
And so it should, since 'tags/tag1' already contains 'SubDir1'
NB: regular unix cp woudl behave exactely the same...
> This behavior is inconsistent, what I expected would happen is either:
The point is that
svn copy dir1 dir2
copies the directory itself, not its contents.
Probably
svn copy dir1/* dir2
would be handy (i.e. shell expands dir1/*, and 'svn copy' handles a request to
-- Saulius Gražulis Visuomeninė organizacija "Atviras Kodas Lietuvai" P.Vileišio g. 18 LT-10306 Vilnius Lietuva (Lithuania) tel/fax: (+370-5)-210 40 05 mobilus: (+370-684)-49802, (+370-614)-36366
|
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.