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

Supernumerous files/directories in tag

From: Ronny Schuetz <usenet-01_at_groombridge34.de>
Date: 2005-05-06 16:58:52 CEST

Hi all,

I just ran into a strange issue when creating a tag in SubVersion
(server is running 1.1.2 and svnperms to disallow modifications of
tags). The following case is just an example to show the issue,
in reality I want to create a complex tag containing different versions.

That's the "test" repository:

 - branches/
 - tags/
 - trunk/
   - ctest/
     - dir1/
       - file1.txt
     - dir2/
       - file2.txt
     - dir3/
       - file3.txt

I want to create a tag "ctest-tag" containing dir1/ (including
file1.txt) only, but still having dir1/ below ctest/, i.e. the result
should look like this:

 - tags/
   - ctest-tag
     - ctest/
       - dir1/
         - file1.txt

So I checked out trunk and ctest in non-recursive mode and dir1
recursively into an empty directory (btw, it would be nice if I could do
this in a single call) to have the whole structure under SubVersion control:

> svn co svn://server/test/trunk d:\work\svn -N
> svn co svn://server/test/trunk/ctest d:\work\svn\ctest -N
> svn co svn://server/test/trunk/ctest/dir1 d:\work\svn\ctest\dir1

(which might return some additional files placed directly below trunk/
or ctest/, but thats acceptable), and copied the stuff back to the server:

> svn cp d:\work\svn svn://server/test/tags/ctest-tag -m tag

which did not create the expected hierarchy, but:

 - tags/
   - ctest-tag
     - ctest/
       - dir1/
         - file1.txt
       - dir2/
         - file2.txt
       - dir3/
         - file3.txt

where dir2/ and dir3/ were not in the working copy at all and I don't
want to have these directories and files in the tag.

Is there any way to achieve the desired state?

Thanks in advance & Best regards,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 6 17:06:48 2005

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