Questions tagged [hgsvn]

7 questions
120
votes
9 answers

How to migrate/convert from SVN to Mercurial (hg) on windows

I'm looking for a tool to migrate a couple of SVN repositories to Mercurial, with history, labels and so on. I'm using TortoiseHg (Windows x32), so ConvertExtensions are discarded. There's some info on how to do this process on a Linux box (hgsvn),…
David Lay
  • 2,956
  • 4
  • 27
  • 48
21
votes
6 answers

interoperation between mercurial and subversion

A similar question has been asked recently, but is not the same. The Mercurial website has a detailed page listing comparisons for 4 different options for getting Mercurial and Subversion to interoperate. I am wondering if anyone out there has tried…
Jason S
  • 184,598
  • 164
  • 608
  • 970
8
votes
2 answers

How can I insert or alter a mercurial revision

How can I alter r0 so it looks like I added .hgignore when I created my repository or insert a commit before my current r0? I just converted a huge SVN repo using hgsvn to mercurial. It took several hours and had to go through about a dozen branches…
Asa Ayers
  • 4,854
  • 6
  • 40
  • 57
8
votes
5 answers

How can I force mercurial to accept an empty commit

I'm trying to convert an SVN repo with hgsvn and I have some commits where SVN properties where modified, but since Mercurial doesn't use those, it sees this as an empty commit and aborts. Is there any way to force this hg commit to accept a commit…
Asa Ayers
  • 4,854
  • 6
  • 40
  • 57
2
votes
1 answer

Mercurial and Subversion: changing, committing, pulling from SVN, pushing, "Sorry, can't find svn parent of a merge revision."

I've pulled the Subversion repository into a local Hg repository while at work. At home, I fixed some stuff, committed into my local Hg repository, and upon coming to work I did a pull and an update. $ hg pull $ hg update I needed to merge, so I…
Ivan Vučica
  • 9,529
  • 9
  • 60
  • 111
0
votes
1 answer

Regular expression for hgsv notation in java

HGSV nomenclature has a pattern: xxxxx.yyyy:charactersnumbercharacters I would like to make a regex in java and fetch the all the tokens from above eg: it should have 5 tokens : { 'xxxxx', 'yyyy', 'characters', 'number' , 'characters'} I have used…
virsha
  • 1,140
  • 4
  • 19
  • 40
0
votes
1 answer

hgsvn pushed file differs from local. How this can happen?

I have a fairly large (89M) binary file which I committed to an svn repo from a mercurial checkout. The file as committed to the repository differs from the file in the checkout, as evidenced by checking it out separately and computing the md5sum.…
Lutorm
  • 381
  • 2
  • 7