Partial migration from SVN
In terms of learning Mercurial and migration from SVN to it I have couple questions:
if we decide to move to mercurial just one project and continue to use SVN for other projects but we really need to copy release branches and trunk to old SVN repository - is it easy thing?
SVN uses LDAP authentication - can mercurial use it too?
We use php and have own created开发者_C百科 deployer software which deploys branch to production and it means we have in SVN production property files, but mercurial commits all changes in directory - what is common way to solve this problem.
Thank you
HGSubversion solve most of problems for transparent SVN-usage from Mercurial, except linearization of history (before push to SVN) for non-linear work in Mercurial. It's (linearization) handwork with (some) extensions, nothing impossible
For Apache as frontend, which can use LDAP-auth it's as easy as write
AuthType basic
AuthBasicProvider ldap
AuthName "Mercurial Repositories"
AuthLDAPURL ldap://localhost:389/ou=People,dc=example,dc=com?uid?sub?(objectClass=posixAccount)
Require valid-user
- Call hg-commands from your php-code?
精彩评论