Need to allow only .sas files in SVN

25 views
Skip to first unread message

Milind Wankhede

unread,
Jun 20, 2019, 12:57:02 PM6/20/19
to TortoiseSVN

We have installed TortoiseSVN at our server. We need to apply setting in such way that it will allow only ".sas" extension files in SVN repository.  We have updated global ignore list in TortoiseSVN->settings. 
But when we right click on any other file (apart from .sas files), it allows to add that file into Tortoise SVN.
Please let me know your suggestion.

Niemann, Hartmut

unread,
Jun 21, 2019, 2:56:22 AM6/21/19
to TortoiseSVN on behalf of Milind Wankhede

AFAIK this is by design. You can always manually add files even if they are on the ignore list. But they won't be added automatically if you add their parent folder.

 

I would suggest a precommit hook on the server that will not accept any commits of other files.

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens Mobility GmbH
MO RS LM EN CCI1 SRD
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 17-50518
Mobil: +49 173 5342327
mailto:hartmut...@siemens.com
www.siemens.com/ingenuityforlife
www.siemens.com/ingenuityforlife

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/dd88943c-85f5-479c-b7b2-8f148eae1f5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Milind Wankhede

unread,
Jun 21, 2019, 1:57:15 PM6/21/19
to TortoiseSVN
Thank you!! This solution works. 

Thanks
Milind Wankhede


On Friday, June 21, 2019 at 2:56:22 AM UTC-4, H. Niemann wrote:

AFAIK this is by design. You can always manually add files even if they are on the ignore list. But they won't be added automatically if you add their parent folder.

 

I would suggest a precommit hook on the server that will not accept any commits of other files.

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens Mobility GmbH
MO RS LM EN CCI1 SRD
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 17-50518
Mobil: +49 173 5342327

Von: Milind Wankhede via TortoiseSVN <tortoisesvn+APn2wQf8K9ioO3cByyDQoGQS_N6Ibz92D6OsjPqzwOmGyn4lDJ1I@googlegroups.com>
Gesendet: Donnerstag, 20. Juni 2019 18:57
An: TortoiseSVN <torto...@googlegroups.com>
Betreff: Need to allow only .sas files in SVN

 

 

We have installed TortoiseSVN at our server. We need to apply setting in such way that it will allow only ".sas" extension files in SVN repository.  We have updated global ignore list in TortoiseSVN->settings. 

But when we right click on any other file (apart from .sas files), it allows to add that file into Tortoise SVN.

Please let me know your suggestion.

 

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.

To unsubscribe from this group and stop receiving emails from it, send an email to torto...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages