LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-22-2008, 03:05 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
SVn Error?


I followed the doc http://abhishekkumarsingh.blogspot.c...cation-on.html for SVN Replication.
I followed line by line but stuck with this error :

Code:
[root@askr hooks]# svnsync initialize file:///var/www/svn/repos http://10.14.236.92/repos --username=svnmirror
svnsync: Revprop change blocked by pre-revprop-change hook (exit code 255) with no output.
Help.

Last edited by your_shadow03; 12-23-2008 at 05:53 AM.
 
Old 12-23-2008, 01:39 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 259Reputation: 259Reputation: 259
What happens if you try to check it all out to another location then try to sync? Did it ever ask for the password? And you're sure you got no other errors on previous steps? No firewall between these servers?
 
Old 12-24-2008, 12:18 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
The Checkout went fine.Heres the oevrall steps I am following.
There is a intranet repository at http://masterrepo/svn-view
The users login to this sytsem through NIS.
All i am running these command in remote SLAVE SERVER as follow

SLAVE SERVER:
$ mkdir /home/adalton/testrepo
$ svnadmin create /home/adalton/testrepo
$ echo "#!/bin/sh" > /home/adalton/testrepo/hooks/pre-revprop-change
$ echo "exit 0" >> /home/adalton/testrepo/hooks/pre-revprop-change
$ chmod 755 /home/adalton/testrepo/hooks/pre-revprop-change
$ svnsync init file:///home/adalton/testrepo http://mastrerepo/svn-view
The output threw error as:
Code:
[adalton@clearcasetest hooks]$ svnsync init file:///home/adalton/repository http://masterrepo/svn-view
Authentication realm: <http://masterrepo:80> Subversion repository(NIS Auth)
Password for 'adalton':
Authentication realm: <http://masterrepo:80> Subversion repository(NIS Auth)
Username: sinra
Password for 'sinra':
svnsync: PROPFIND request failed on '/svn-view'
svnsync: PROPFIND of '/svn-view': 301 Moved Permanently (http://masterrepo)
Any idea?What this error is all about.

Code:
[adalton@cleartest ~]$ svn checkout file:///home/adalton/repository reposs
Checked out revision 0.
[adalton@clearcasetest ~]$

Last edited by your_shadow03; 12-24-2008 at 12:19 AM.
 
Old 04-09-2009, 03:37 AM   #4
Zaeris
LQ Newbie
 
Registered: Aug 2004
Location: Brisbane, Australia
Distribution: Ubuntu(server+desktop)/ArchLinux
Posts: 3

Rep: Reputation: 1
For anyone else who comes across this post in future, the 'Revprop change blocked by pre-revprop-change hook (exit code 255) with no output.' error can be caused by not having execute permissions on the pre-revprop-change script.

Try:

Code:
chmod a+x /path/to/repo/hooks/pre-revprop-change
This fixed the problem for me.
 
1 members found this post helpful.
Old 09-29-2010, 04:49 AM   #5
gerke.ephorus.groups
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Lightbulb

It also helps to make sure (when on Linux/Unix) that the script(s) have the right line-endings. (I migrated from Windows repo to Linux repo and was hit by this :-( )

Using vim to change line-endings to unix type:
vim hooks/pre-revprop-change
:set ff=unix
:wq

Last edited by gerke.ephorus.groups; 09-29-2010 at 04:58 AM. Reason: Give hint as to how to change line endings in vim
 
Old 11-01-2012, 05:16 AM   #6
_JoAs
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by gerke.ephorus.groups View Post
It also helps to make sure (when on Linux/Unix) that the script(s) have the right line-endings. (I migrated from Windows repo to Linux repo and was hit by this :-( )
Thank you for this hint! It solved my problem..

Best regards,
jo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 06:58 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 06:31 AM
Compiling from SVN error gsv666 Linux - Newbie 7 04-19-2009 06:55 AM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 06:50 PM
error compiling php and svn an2ny_18 Linux - Newbie 2 03-11-2006 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration