Reputation: 5589
Hi guys I have an easy question, but not easy to me.
I have a repo in /mnt/apps/repos and I would like to do a hook which will update/export everything to /mnt/apps/dev/repos folder but when running:
#/usr/bin/svn update /mnt/apps/dev/repos
I am getting error:
Skipped '/mnt/webapps/dev/repos'
when run
#usr/bin/svn export /mnt/apps/dev/repos
I am getting:
svn: '/mnt/webapps/dev/repos' is not a working copy
how to add /mnt/webapps/dev/repos as a working copy for all files from repo DB?
please help
Upvotes: 0
Views: 131
Reputation: 21615
You should use an URL format to specify your repository, either http://, https://, svn://, svn+ssh:// or file://
The repository is the database for all your versions, so you cannot update it. You probably want to check out a working copy.
svn checkout file:///mnt/webapps/dev/repos /home/user/workingcopy
Please note that:
/mnt
indicates that you mounted a network share with the repository on it, don't do it that way, go with a server insteadCheck out the free svnbook for more details
Upvotes: 1