Currently my setup is this :
External SVN repository –> local svn
working copy, transformed in a
mercurial repository –> clone of this
repository as subrepo in my
application repo
The external SVN is a library which I don’t have any privilege on.
Basically, I want to prevent pushing changes to my svn/hg hybrid repository, so the changes come only from the library’s svn repository.
Is this possible?
You can use hooks in mercurial. For example in svnhgrepository/.hg/hgrc file, the following section will cause push from another repo to fail (using the prechangegroup hook).