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

Creating complex tag with mixed revisions fails

From: <Jens.Kammler_at_Bertelsmann.de>
Date: 2004-05-13 11:20:40 CEST

Hi all,

I am trying to create a complex tag from a working copy where some files are
backdated to older revisions. This feature is described in the subversion
book (chapter 4 "Branching And Merging", section "Tags", subsection
"Creating a Complex Tag") but it seems not to work. I read the documentation
again and again but cannot find a mistake in the way I do it:

1. Checking out a fresh working copy from repository trunc of my project
(svn checkout):
        $ svn co svn://myhost/SVNPSNK3/myproject/trunc myproject
        A myproject/orenge
        A myproject/orenge/nestlib
        A myproject/orenge/bin
        ... (many more files here)
        Checked out revision 10.

2. Verifying the status of the working copy directory where I would like to
backdate a file (svn status):
        $ cd directory
        $ svn status -v
        10 2 kam .
        10 1 kam splus.pm
        10 1 kam oracs.pm
        10 1 kam orasdb.pm
        10 2 kam perftool.pm
        10 1 kam execute.pm

3. Backdating file "perftool.pm" from rev 2 to older revision 1 (svn
update):
        $ svn update -r 1 perftool.pm
        U perftool.pm
        Updated to revision 1.

4. Verifying status of the directory again (svn status):
        $ svn status -v
        10 2 kam .
        10 1 kam splus.pm
        10 1 kam oracs.pm
        10 1 kam orasdb.pm
          1 1 kam perftool.pm
        10 1 kam execute.pm

5. Making a snapshot of the whole working copy by creating a tag (svn copy
WC -> URL) fails now:
           $ ls
        ./ ../ myproject/

        $ svn copy myproject svn://myhost/SVNPSNK3/myproject/tags/release1
-m "Release 1 with old perftool"
        svn: Commit failed (details follow):
        svn: Out of date:
'/myproject/tags/release1/oracle/directory/perftool.pm' in transaction '16'

Of course the file perftool.pm is out of date, it is from an older revision.
But this is exactly the snapshot I need and this should be a subversion
feature.

I also tried to create the directory tags/release1 first in the repository
before making the snapshot. This did not help.

The svn version I use is 1.0.2 (r9423), self compiled on Linux.

I would be very happy if someone could help me in this issue.

Regards

Jens Kammler

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 13 11:21:47 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.