• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 791
  • Last Modified:

Restrict svn check-in / svn add for specific file types.

I want to restrict users to add specific types of files to the repository.
Lets say I don't want jpeg files to be checked into my repository.
how can i accomplish that?
0
theGhost_k8
Asked:
theGhost_k8
  • 3
1 Solution
 
tillgeffkenCommented:
Use a pre-commit hook to check files. Here is a tutorial. Also read this if you want to exclude directory names.
0
 
theGhost_k8Database ConsultantAuthor Commented:
How can I obtain file name to check for its type??
0
 
theGhost_k8Database ConsultantAuthor Commented:
One more thing is - It should stop checking-in   the file but also it should not allow it to do "svn add" otherwise the file will remain A state.
0
 
theGhost_k8Database ConsultantAuthor Commented:
Didn't helped.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now