I think as others have pointed out, you can't force people to only
check out from the HEAD.
However, Subversion won't allow a user to commit unless the commit is
at the HEAD of a branch. If I checkout from revision 1234, and the
HEAD revision is 2000, I can't commit any changes unless it so happens
that the file at revision 1234 just happens to be the head of the
revision.
If you need to revert back to an earlier revision, you need to do a merge.
The default behavior of Subversion is to always checkout from the
latest revision of that branch or trunk. It is assumed that if a
developer specifies the actual revision, then there's a good reason
why the developer is doing this.
One of the things I've learned from my two decades of doing builds and
releases is that we have to treat our fellow employees as
professionals who are just as interested in doing a good job as we
are. If you cannot treat a particular employee that way, then that
employee should find another line of work.
Other employees resent when you try to control what they are doing
because you implicitly don't trust them. They'll grow to hate the
tools. They'll grow to hate the process. They'll look at you not as a
fellow player whose concerned about getting out a quality product, but
as a impediment for them doing their job.
So, you need to ask yourself why must you prevent employees from
checking out earlier revisions of a module. Is it some "best practice"
idea you have, or have developers messed up the release process
because they did this before?
If it is the latter, you may need to find out why developers tried
doing this and how you can change the development process to help
developers do what they need.
On Tue, May 12, 2009 at 6:39 PM, <webpost_at_tigris.org> wrote:
> Hi all,
>
> Its possible deny the svn update on prev revisions? in the word, the
> user can update/checkout only the HEAD version, neither another one !
>
> thanks!
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2222687
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>
--
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2238988
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-13 16:47:53 CEST