D5963: copies: handle a case when both merging csets are not descendant of merge base

khanchi97 (Sushil khanchi) phabricator at mercurial-scm.org
Mon Mar 11 12:32:01 EDT 2019

khanchi97 added inline comments.


> martinvonz wrote in copies.py:571
> I am also still not sure, even after spending several hours on this code :( But I am also not sure it's incorrect, and I don't want to hold up this patch more than I already have, so I'll queue this. Thanks for your patience. As I said before, I'm going to write a changeset-centric version of `mergecopies()` pretty soon, and then I'll have to understand this better. I'll also add more tests then. (I'm not trying to say that I think your patch is broken; it's just that the entire `mergecopies()` is pretty complicated, so I wouldn't be surprised if there are bugs anywhere in it.)

Yeah, I think I understand what you said. Thanks for accepting the patch :-)

  rHG Mercurial


To: khanchi97, #hg-reviewers, martinvonz
Cc: martinvonz, mercurial-devel

More information about the Mercurial-devel mailing list