<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 15, 2019 at 7:53 PM Martin von Zweigbergk via Mercurial-devel <<a href="mailto:mercurial-devel@mercurial-scm.org">mercurial-devel@mercurial-scm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><strong>From: </strong>Navaneeth Suresh <span dir="ltr"><<a href="mailto:navaneeths1998@gmail.com" target="_blank">navaneeths1998@gmail.com</a>></span><br><strong>Date: </strong>Wed, May 15, 2019 at 5:13 AM<br><strong>To: </strong>Pierre-Yves David<br><strong>Cc: </strong>mercurial-devel<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Tue, May 14, 2019 at 5:51 PM Pierre-Yves David <<a href="mailto:pierre-yves.david@ens-lyon.org" target="_blank">pierre-yves.david@ens-lyon.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 5/12/19 8:31 PM, Navaneeth Suresh wrote:<br>
> Hello everyone,<br>
> <br>
> I am Navaneeth Suresh, one of the GSoC '19 students with Mercurial. I <br>
> wanted to discuss my project on adding functionality to store an <br>
> unresolved merge-state[1] <br>
> <<a href="https://www.mercurial-scm.org/wiki/SummerOfCode/Ideas2019#Add_functionality_to_store_an_unresolved_merge-state" rel="noreferrer" target="_blank">https://www.mercurial-scm.org/wiki/SummerOfCode/Ideas2019#Add_functionality_to_store_an_unresolved_merge-state</a>> with <br>
> the community. Having gone through past mailing list archives on similar <br>
> issues, I got some ideas on the implementation of the project. However, <br>
> there can be other alternatives and I might encounter some issues which <br>
> I might not aware of. So, I'm sharing my idea of implementation.<br>
> <br>
> As said by @marmoute, we are storing only one active unresolved <br>
> merge-state.<br>
<br>
Yes, the active merge state exists in .hg/merge/. It is used for the <br>
operation the triggered a merge (hg merge, hg rebase, etc) and will <br>
exist until the merge is concluded or aborted.<br>
<br>
As far as I understand your project, is to offer a third alternative: <br>
delaying the merge resolution until later. Right ?<br></blockquote><div><br></div><div>Yes. For example, if a user wants to fix an urgent bug without losing their partly done enormous conflict resolution, this project will help them to store the conflicts and resume the resolution after fixing the bug. In the current scenario, they are only allowed to either fully discard or complete the partly done resolution to perform a new commit.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
How do you see the final user experience? What is the workflow to delay <br>
and later conclude/abort a merge? (note: there are some UX details from <br>
you later in this email, but it probably worth being explained <br>
independently).<br></blockquote><div><br></div><div>From the UI point of view, it appeared to me as shelving with conflicts.</div></div></div></blockquote><div><br></div><div>Good idea.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div> I thought of introducing two commands `hg store-conflicts` and `hg restore-conflicts`.</div></div></div></blockquote><div><br></div><div>Or even reuse `hg shelve` and `hg unshelve`?</div></div></div></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I agree. `hg shelve --unresolved`.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">(I am still in-process of writing a reply to whole proposal)</div></div></div>