Reputation: 1568
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?
Upvotes: 0
Views: 191
Reputation: 229
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).
[hooks]
prechangegroup = false
Upvotes: 1