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 3332670
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:42:45+00:00 2026-05-17T23:42:45+00:00

Let an svn repository be shared among many users. let the svn repository be

  • 0

Let an svn repository be shared among many users. let the svn repository be used to store versions of a database creation script and some other non-code objects. is there a way to display a custom message (ie:that can be read from a file) upon update?
example:
i am working on $project
i change the class encapsulating database queries so that i am also adding a single attribute in a database table -> i need to change the test-database creation script so that it contains the new value
i modify the file post-update-msg (called, i suppose, by the post-update svn hook) by writing in it:

WARNING: the some_db_script changed, you need to generate the test db again

and each client, upon performing an

svn update

command, gets something like:

user@box:~/code/svn-working-copy$ svn update
U many other stuff
U scripts/some_db_script
Updated to revision n+1
WARNING: the some_db_script changed, you need to generate the test db again
user@box:~/code/svn-working-copy$

can it be done via svn hooks? is there another more elegant/better way of doing it?
thanks in advance

  • 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-17T23:42:46+00:00Added an answer on May 17, 2026 at 11:42 pm

    In subversion only terms it is not possible, because subversion provides no post-update-hooks

    So you will rely on 3rd party tools(maybe your own checkout script?) which should examine the updated files and will display such a message.

    I want to point out, that TortoiseSVN supports such post-update hooks (see instructions here),
    however you are directly dependent on TortoiseSVN (not so bad, if you ask me) but cannot incorporate other subversion clients(commandline, or IDE-based tools). Also You need to “deploy” these client hooks (as the name said) on each client.

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

Sidebar

Related Questions

I have some changes commited a few commits back in my svn repository. Let's
Let me start by telling you that I never used anything besides SVN and
Let's say I have working copies of several different folders from my SVN repository
Tortoise SVN will not let me access an svn repository that has a self
Please let me know which commands should be used for updating the repository non
Let's say I have a huge SVN repository (don't we all), and I am
I have checked out some projects from SVN repository. To build those projects I
I have an external subversion repository, which is empty now. Let's call it http://www.example.com/svn
Let's say I have a releases subdirectory in my svn repository, where I have
I have two branch (let say branch A and branch B)in my svn repository

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.