I’m using the graft command to pull 4 changesets from a BranchA into BranchB. When I do, some are grafted and some are not:
PS D:\Dev\ProjectAlpha> hg graft 5f403abb2b24
skipping ancestor revision 15911
PS D:\Dev\ProjectAlpha> hg graft 535ff712c5a3
grafting revision 15925
PS D:\Dev\ProjectAlpha> hg graft cf42b7113e02
grafting revision 15931
PS D:\Dev\ProjectAlpha> hg graft 6920922ee602
skipping ancestor revision 15910
I can’t find anything documented that explains this. I can find the source, but maybe it’d be helpful to someone else if someone could come along and explain this.
Is there an order of operations with graft that I need to keep in mind? Am I doing it wrong?
From
hg help glossary:so graft is refusing to make those revisions descendants of your current changeset because they’re already ancestors of your current changeset, and having your ancestors be your descendants was shown to not work in the Back to the Future movies. 😉