Opened 11 years ago

#711 closed defect (Won't fix)

wml files not getting right svn propset

Reported by: arma Owned by:
Priority: Low Milestone:
Component: Webpages/Website Version: 0.2.1.0-alpha
Severity: Keywords:
Cc: arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Whenever we add a new wml file to the website, or a new .c file to the code,
we are failing to do the proplist thing to them. This causes confusing bugs
that we don't catch for months.

Does svn have a way to automatically propset certain things for certain file
extensions or directories or something?

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (3)

comment:1 Changed 11 years ago by nickm

Yes, but it's a local option, not a repository-wide option. Look at the auto-props section of your
~/.subversion/config file. Remember to set enable-auto-props=yes , too.

I do not see a way to do this automatically at the repository level.

comment:2 Changed 11 years ago by nickm

There's a thread about doing this with a post-commit hook here:

http://www.nabble.com/automatic-server-side-setting-of-svn:keywords-using-hooks-td15201558.html

It looks tricky and error-prone.

comment:3 Changed 11 years ago by nickm

flyspray2trac: bug closed.
Closing as won't-fix: the post-commit trick is way error prone and the local fix is pretty easy.

Note: See TracTickets for help on using tickets.