SVN Merge silently fails when parent directory is unreadable
From: Stein, Ruben <ruben.stein_at_mevis.fraunhofer.de>
Date: Wed, 25 Mar 2015 15:04:41 +0000
Hello,
I have the problem that I cannot execute any merge operation since the repository owner restricted access rights of some parent folders. The ugly part about this is, that merge silently fails. It just does nothing and pretends that the command was successful. I first discovered this when I tried to do a reverse-merge (undo) of the latest revision I just committed. See the example output below. I added "--ignore-ancestry" to demonstrate that this is not about a problem in my working copy. Merge just quits, gives no error and the working copy is untouched (empty svn st output). But there is a diff it should apply. Entering the same revision to diff shows a valid patch.
D:\source>svn merge -c -192211 --ignore-ancestry -v .
D:\source>echo %ERRORLEVEL%
D:\source>svn st
D:\source >svn diff -c -192211 .
I even checked the mergeinfos for that folder to be sure there is nothing marked as already merged. There was nothing interesting in the output:
On a colleagues machine who still had full access rights, the operation succeeded - applying the changes from the diff as expected. So my conclusion so far is, that merge fails since access to a parent directory in the repo is restricted. See the following description of the rights situation:
/repo-root => forbidden
I have the following questions:
Best Regards
|
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.