MR.GEWA
MR.GEWA

Reputation: 873

adding hg after svn and pushing

We used to have the production site under SVN control. We are now working in mercurial with bitbucket.

So what I have locally is a folder where there is both a .svn and a .hg directory.

But what I want to do is:

Could can I do this?

Upvotes: 1

Views: 63

Answers (2)

Regent
Regent

Reputation: 5602

Personally I would strongly recommend against having both Mercurial and Subversion VCS. Aside doubling administration time for management different VCS, it mostly negates any benefits of using Mercurial in a first place.

I have been through similar path before - working locally in Mercurial whilst officially there was only SVN repo. Well, I got used to flattening revision history to get in more digestible by Subversion but I was not anything close to pleasant experience.

Once we eliminated Subversion out of the equation my life started to be significantly happier.

Probably with small projects the pain in not that noticeable but having co-existing source control system just add up unnecessary development workflow steps I would avoided.

Upvotes: 1

Steve Kaye
Steve Kaye

Reputation: 6262

There are a couple of choices when you want to work with subversion listed here.

I've used hgsubversion and it is quite restrictive in that it needs you to work in such a way that SVN will be able to cope with. It means that you need to use hg rebase a lot and it might be tricky to manage in a team - particularly if not all of the team will be pushing to SVN.

I've not used MQ to interface with SVN so I can't comment on how easy that might be.

Upvotes: 3

Related Questions