Tree conflict breaks svn info on root of working copy
From: Fitzpatrick, Ben <ben.fitzpatrick_at_metoffice.gov.uk>
Date: Thu, 29 Aug 2013 14:00:55 +0000
Using Subversion 1.8.1 on Linux (RHEL6), a merge that creates a "local file obstruction, incoming file add upon merge" file tree conflict will break svn info on the root of the working copy. That tree conflict can be caused by adding a file with a particular name on one branch, committing, then independently adding a file with an identical name on another branch, committing, and then merging one branch into another.
Following the merge, if the working copy is at "/home/foo/working_copy", the error message will be:
foo_at_machine$ svn info /home/foo/working_copy/
svn: E155007: '/home/foo' is not a working copy
This exits with a return code of 1.
The error message refers to the parent directory above the root of the working copy. The working copy appears superficially fine, and "svn status" and even svn info on specific files and subdirectories works OK.
svn resolve --accept working on the tree conflict file makes the error go away.
This script reproduces the error for me:
It should print the normal svn info output, then exit with an error like:
svn: E155007: '/var/tmp/tmp.wl6qMmFQMw/wc_parent' is not a working copy
This is an archived mail posted to the Subversion Users mailing list.