Using Hg locally and pushing to an SVN repo when other team members are just working on SVN — is this possible?

StackOverflow https://stackoverflow.com/questions/5425281

Question

I've found what appear to be very similar questions here on SO, with what appear to be good answers; but for some reason, I still can't seem to figure out how to get this to work. My concern is that it may simply not be possible.

Here's the situation: I am working on a small team that uses a central SVN repository as our version control system. My pair programmer and I got frustrated not having the option of local commits (and didn't want to have to go through the hassle of using SVN branches), so we looked into using either Git or Mercurial as an SVN client and found that hgsubversion seems capable of doing what we want: to work locally on an Hg repository, commit locally, and only push to SVN when we're ready.

When the time came to push, we received this error message from Hg:

Sorry, can't find svn parent of a merge revision.

I'm wondering if the problem is that we had to pull changes from SVN to get our teammates' updates, then merge with our local changes, and now Hg can't figure out how to make SVN happy? This seems to be the message I'm getting from the other SO questions & answers I've looked at; however, the advice that was dispensed in those cases (doing hg rebase --svn) seems not to work for us either; that same "can't find svn parent" message is given.

Is this even possible? Or is it more trouble than it's worth when other developers on the team are making changes directly to SVN?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top