[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: encouraging users to switch

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-02-05 11:12:54 CET

John Kristian schrieb:

> Can you recommend a way to encourage users to execute `svn switch` after
> a branch is moved?

You could write a pre-commit hook script chat checks the path. If
someone tries to check in to the "old" branch then you can output an
error message to stderr, which subversion shows to the user.

The other way I might think of is using permissions. Deny write access
to the old branch. Commits to the old branch will fail, and people might
ask you what to do next.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 5 11:15:42 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.