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

Odd error. Broken WC (Error bumping revisions post-commit)

From: Talden <talden_at_gmail.com>
Date: Fri, 27 Jun 2008 13:52:24 +1200

As the tail-end of a cvs2svn migration I have a reorg-script that
reshapes the migration results in preparation for our dev team to use
the repository.

In this reorganisation I do roughly the following:

1. checkout a working copy. Non recursive

   $ svn checkout -N ${repo}/dev reorg

2. create some directories and add them

   $ mkdir -p reorg/newcontent/foo
   $ svn add reorg/newcontent

3. Copy some repository content to these folders

   $ svn copy ${repo}/dev/oldcontent/foo/bar reorg/newcontent/foo/bar

4. Filter out some of this copied content

   $ svn remove reorg/newcontent/foo/bar/garbage

5. Delete some properties that were copied out of the old folder

   $ svn propdel foo reorg/newcontent

6. commit

   $ svn commit -m ...

The correct content makes it to the repository but the commit fails at
the client-side while cleaning up the repo. The message (modified to
protect [MESSAGE REDACTED]) is shown below:

    svn: Commit succeeded, but other errors follow:
    svn: Error bumping revisions post-commit (details follow):
    svn: Directory
'/home/talden/wc/reorg/newcontent/foo/bar/garbage/somejunk' is missing

It's the same file each time (not surprising as this is entirely
scripted and the minor changes I've made to the script don't touch
this area). The 'missing' folder is never directly referenced in the
script but should have been recursively deleted by the 'svn remove' of
its parent.

The committed result is correct but the working copy is trashed.

Is this a known bug. It is repeatable in my reorg script but I
haven't boiled it down to a reproduction recipe I can share.

I'd much rather this is just stupidity than a bug - then I wouldn't
have any need to upgrade yet.

Here is the version information.

  svn, version 1.4.6 (r28521)
     compiled Dec 19 2007, 11:25:22

  Copyright (C) 2000-2007 CollabNet.
  Subversion is open source software, see http://subversion.tigris.org/
  This product includes software developed by CollabNet
(http://www.Collab.Net/).

  The following repository access (RA) modules are available:

  * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
    - handles 'http' scheme
    - handles 'https' scheme
  * ra_svn : Module for accessing a repository using the svn network protocol.
    - handles 'svn' scheme
  * ra_local : Module for accessing a repository on local disk.
    - handles 'file' scheme

--
Talden
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-27 03:52:47 CEST

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.