On 12/16/2016 6:45 PM, Augie Fackler wrote: > On Fri, Dec 16, 2016 at 1:35 PM, Augie Fackler <r...@durin42.com> wrote: >>> scmutil: add a simple key-value file helper >>> >> At this point, I think I'd like to see obs-shelve too. Is there a >> place I can do that? > (Specifically: before we do a resend of this, I'd like to see the > client, so a link to a pastebin or repo where I could see a client on > this thread would be outstanding. THanks!) Here's a pastebin of my shelve.py: http://pastebin.com/3CYmqf2J Please note that I haven't worked on storing the actual shelved state in this file yet: that is a low-pri for me at the moment, but I want it to be available for when I have time. See obsshelvefile on line 88. The use case in shelve is very primitive - I could just store the node in a text file and it would've been ok. But I wanted to have a potential for growth and a way to move states of other commands as well.
> _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel