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

  • Home
  • SEARCH
  • 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 7428743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:51:12+00:00 2026-05-29T08:51:12+00:00

There are situations where as part of development environment setup, certain files are distributed

  • 0

There are situations where as part of development environment setup, certain files are distributed with default settings and these files are checked in to svn. But we do not want the users to commit local modifications to these files accidentally.

Is there a way possible in svn to do this? I am aware that svn:ignore does not work on files that are already checked in. Or is there a different practice to achieve the same results?

  • 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-29T08:51:14+00:00Added an answer on May 29, 2026 at 8:51 am

    The usual approach is completely omit such file (via svn:ignore) and commit a template instead. The user is expected to copy the template and tweak the copy to his liking:

    http://subversion.apache.org/faq.html#ignore-commit

    I have a file in my project that every developer must change, but I don’t want those local mods to ever be committed. How can I make ‘svn commit’ ignore the file?

    The answer is: don’t put that file under version control. Instead, put
    a template of the file under version control, something like
    “file.tmpl”.

    Then, after the initial ‘svn checkout’, have your users (or your build
    system) do a normal OS copy of the template to the proper filename,
    and have users customize the copy. The file is unversioned, so it will
    never be committed. And if you wish, you can add the file to its
    parent directory’s svn:ignore property, so it doesn’t show up as ‘?’
    in the ‘svn status’ command.

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

Sidebar

Related Questions

I am part of a development team implementing a large application. There are several
Are there any situations when you would use assertion instead of exceptions-handling inside domain
In my project there are situations where we have to send xml messages (as
Using ASP.NET MVC there are situations (such as form submission) that may require a
(See question below for more context): Are there any situations in which <machineKey validationKey=AutoGenerate,IsolateApps
There may be situations where I would need to find an object by parameters
Are there some practical programming situations for someone to declare a class abstract when
In situations where two interfaces apply to an object, and there are two overloaded
How would you call the constructor of the following class in these three situations:
Situation: There are several entities in a simulated environment, which has an artificial notion

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.