Can we set a single file as external in Subversion?
I couldn't find a good example about how to create a svn file external. So I am providing an example here so it can be useful for others.
The format is
svn propset svn:externals " "
For e.g. following command
svn propset svn:externals "my.cfg https://myserver/my/svn/location/my_sample_file.cfg.template" my_folder
will create the file https://myserver/my/svn/location/my_sample_file.cfg.template under my_folder
as my.cfg
. Here obviously, I assume you already have the folder my_folder
under your current directory which is under svn.