<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8px">I had to say that "marked working directory" should be warned only if the<br></span><span style="font-size:12.8px">working branch was actually changed.</span></blockquote><div><br></div><div>Done in patch v2 </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8px">Let's consider it later. You can concentrate on restoring the shelved branch.</span></blockquote><div><br></div><div>I added test to read old format by removing lines from new format. But i have no idea how to add test that reads new format by old mercurial version, i tested it only manually and it seems to working</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8px">We only shelve (store + remove from wc) if no pattern/selection is issued.</span><br style="font-size:12.8px"><span style="font-size:12.8px">That does not requires to store "bare shelve" in the file format, just control when you shelve the branch change. Something you seems to be already able to do.</span></blockquote><div><br></div><div>Done in v2</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-29 18:17 GMT+01:00 Pierre-Yves David <span dir="ltr"><<a href="mailto:pierre-yves.david@ens-lyon.org" target="_blank">pierre-yves.david@ens-lyon.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 02/29/2016 09:56 AM, Piotr Listkiewicz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        So only in bare shelve restoring branch should take place?<br>
<br>
    That's a proposal, lets sleep on it and see what other people think<br>
    about it.<br>
<br>
<br>
Does 'bare shelve' is shelve without specifying files/filesets?<br>
<br>
If so, i have a problem with implementation. Probably the place to store<br>
if shelve was 'bare' is .hg bundle file for given shelve or new bundle<br>
file. In both cases i have no idea how to write this information in it.<br>
<br>
Other idea would be to store this information in the new text file but<br>
this seems like total overkill.<br>
</blockquote>
<br></span>
We only shelve (store + remove from wc) if no pattern/selection is issued.<br>
<br>
That does not requires to store "bare shelve" in the file format, just control when you shelve the branch change. Something you seems to be already able to do.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Pierre-Yves David<br>
</font></span></blockquote></div><br></div>