Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1030123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:39:02+00:00 2026-05-16T12:39:02+00:00

I’m trying to copy a used repository by using svnsync (I’m doing it this

  • 0

I’m trying to copy a used repository by using svnsync (I’m doing it this way in order to ensure optimal usage of my repository as long as its machine is working) but it does not seems to work.

I have two machines (I’ve changed the names, but not the other infos)

  • INITIAL : custom Linux with Subversion 1.4.5 (r25188) (as reported by svnadmin). From this machine, I’m trying to sync on a repository called SOURCE. This repository can be accessed using http protocol, and a svnsync user has been created. In SOURCE/hooks, only one executable file exists : pre-revprops-change.
  • FINAL : Ubuntu with Subversion 1.6.6 (r40053) (as reported by svnadmin). On this machine, I will sync on a repository called svn16. This repository can be accessed using http protocol, and a svnsync user has been created. In svn16/hooks, executable files are pre-revprop-change and start-commit. On this machine, dav_svn.conf contains directive SVNParentPath /var/svn, making all repositories accessible under http://FINAL/svn

I’ve ensured URLs and login/pwd are correct by opening each repository URL in my browser and issuing authentication dialogs, which always seemed to work.

I’m trying to execute the following command

svnsync initialize http://FINAL/svn/svn16 http://INITIAL/SOURCE

But it always end up showing

Authentication realm: <http://FINAL:80> All Subversion Repositories hosted on FINAL
Password for 'ubunut-user':
Authentication realm: <http://FINAL.fr:80> All Subversion Repositories hosted on FINAL
Username: svnsync
Password for 'svnsync':
svnsync: DAV request failed; it's possible that the repository's pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: Error setting property 'sync-lock':
Revprop change blocked by pre-revprop-change hook (exit code 255) with no output.

I guess there is some kind of configuration issue somewhere§. But what ? And where ? I’ve reached my limits, and the web seems of no help here, as the various docs I’ve seen suggest making hooks executable by the whole universe is an efficient solution (what it’s not in my case).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:39:02+00:00Added an answer on May 16, 2026 at 12:39 pm

    Turns out I was dumber than dumb.

    In such an error case, the easiest way to ensure all is working correctly is invoking various hooks by hand.

    It revealed my pre-revprop-change hook was incorrectly written with

    "#!/bin/sh"
    exit 0
    

    Obviously, removing the " solved the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.