svnadmin: E200002: Can't read length line in file '/svn/dumps/speech-repo/db/revs/236

2015-03-25 Thread Manjunath Kashyap
Hi All,

We have a svn repo hosted on windows os of size 90GB.The svn version is 1.4
which is pretty old. Now we have a request to migrate the repo to an
existing repo(running on linux and version 1.8). So we manually copied this
90GB windows hosted repo to a linux qa env. In order to test the migration,
we proceeded with getting dump of the copied repo in linux box. During this
dump process, we are experiencing the *svnadmin: E22: Can't read
length line in file '/svn/dumps/sp-repo/db/revs/236*. After doing a search
on the issue i found that the error is due to corruption of repo due to a
hardware failure. I am afraid we do not have a backup copy of the repo to
recover the repository. We laso tried to run *svnadmin recover* on the
copied repo but in vain. We also tried to skip the 236th revision and we
face multiple files not found issues in preceding revisions. I am in a
position where i cant even take the dump file of the repo. Can someone
please let me know how to proceed to fix this issue? Any tools or third
party help will be highly appreciated.


Thanks,
Sunil.


SVN Merge silently fails when parent directory is unreadable

2015-03-25 Thread Stein, Ruben
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:\sourcesvn merge -c -192211 --ignore-ancestry -v .
--- Merging

D:\sourceecho %ERRORLEVEL%
0

D:\sourcesvn st

D:\source svn diff -c -192211 .
Index: SomeFile.cpp
===
--- SomeFile.cpp(revision 192211)
+++ SomeFile.cpp(revision 192210)
@@ -3854,17 +3854,32 @@
[...]

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:
svn propget svn:mergeinfo --show-inherited-props

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
/repo-root/source = allowed

I have the following questions:
* Is it by design, that merge cannot cope with read-restricted parent 
directories? Or should this work?
* Is it a bug, that it simply quits without doing anything? I had expected at 
least an error message that the operation failed.

Best Regards
Ruben



AW: SVN Merge silently fails when parent directory is unreadable

2015-03-25 Thread Stein, Ruben
Hello,

I just want to add, that we now found a solution by allowing read access to the 
repository root for all users. This helps to get the merge command back on 
track, it correctly applies the expected diffs to the WC. It seems to have no 
problem with the fact that the directories on the second level still have 
access restrictions.

Situation now:
/repo-root = allowed
/repo-root/branches = forbidden
/repo-root/branches/source = allowed

Best Regards
Ruben

 -Ursprüngliche Nachricht-
 Von: Stein, Ruben [mailto:ruben.st...@mevis.fraunhofer.de]
 Gesendet: Mittwoch, 25. März 2015 16:05
 An: users@subversion.apache.org
 Betreff: SVN Merge silently fails when parent directory is unreadable
 [..]
 I have the problem that I cannot execute any merge operation since the
 repository owner restricted access rights of some parent folders. 
 [..]



RE: Apache Subversion 1.9.0-beta1 released

2015-03-25 Thread Bert Huijben
 -Original Message-
 From: Ben Reser [mailto:bre...@apache.org]
 Sent: donderdag 19 maart 2015 04:58
 To: Subversion Development; users@subversion.apache.org;
 annou...@subversion.apache.org; annou...@apache.org
 Subject: Apache Subversion 1.9.0-beta1 released
 
 I'm happy to announce the release of Apache Subversion 1.9.0-beta1.
 Please choose the mirror closest to you by visiting:
 
 http://subversion.apache.org/download/#pre-releases

For whoever is interested in testing this on Windows. The SlikSvn builds of 
1.9.0-beta1 are now available as:
https://sliksvn.com/pub/Slik-Subversion-1.9.0-beta1-win32.msi (x86 version)
https://sliksvn.com/pub/Slik-Subversion-1.9.0-beta1-x64.msi (x86_x64 version)
(as usual full debug symbols are available in the 
https://sliksvn.com/pub/symbols/ directory)

Installing these miss will automatically upgrade your previous version of 
SlikSvn to this version.


To avoid an installer error on downgrading back to 1.8.x *) manually deinstall 
this version from the Software control panel, before (re)installing the older 
version.

 
Bert

*) The problem is just that setup fails because it can't install with a newer 
version installed.