Articles on taapasX28's Bloghttps://blogs.python-gsoc.orgUpdates on different articles published on taapasX28's BlogenSun, 25 Aug 2019 14:10:41 +0000Final Checkinhttps://blogs.python-gsoc.org/en/taapasx28s-blog/final-checkin/<p> </p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Hey everyone! This is my final blog post here. GSoC 19 has finally come to its end. This week I mostly worked on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort --update</span></span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I worked on writing intensive-tests for </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">As suggested by <span style="background-color: #ecf0f1;">@mharbison72</span> I worked on cases where we need to take considerations of subrepos and check cases where a subrepo is dirty and cases where more than one subrepo is present and conflicts for one or more of them is resolved but not all conflicts are resolved so as to check the unmark feature. The patch is still under review but it too will soon get accepted.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></span></strong></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I did not get on anything major this week . I did have to perfect the code considering some endpoint cases but it came around fine enough.</span></span></p> <p> </p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Finally, I would like to  thank Pulkit for reviewing the patches and solving the doubts despite having a busy schedule, Martin and other people in the community for teaching the basic etiquettes and facts required to be a better open-source contributor and solving the doubts no matter how silly they were.</span></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Adios !</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 25 Aug 2019 14:10:41 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/final-checkin/Coding Period: Week 12https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-12-1/<p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Hello everyone! This is one of the last blogposts. This week I worked on the last features I needed to add in my GSoC period i.e. </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></strong></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">As stated in the previous week I worked on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg transplant --abort.</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> As suggested by @Pulkit it was modified to </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">--stop </span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">flag and finally got it merged </span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/rHGf6a4db4b40edddc254e9be7f8857c123728aa85f">[1]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. I also resolved most of the </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> series of patches.<br> Later this week I was finally able to deduce a logic for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and sent a patch for that </span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/D6735">[2]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. It is still under review though.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">As almost all patches are dealt with I will modify the patch for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort </span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">as suggested by the community and get that merged.<br> I will also the continue patches for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> at the beginning of the next week and get them merged too.<br> This issue has been one of the most requested features and I am really happy that I could work on this and get it resolved. Also in this week, I will be working on my GSoC 19 blog which is supposed to be attached as prescribed by final product submission guidelines.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></span></strong></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I got stuck regarding the logic of </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for long enough but a deeper understanding of mergestate and associated functions help me deduce a logic which was not functional initially but later this week I was able to make it work. I am still adding more extensive test cases for it to make the feature perfect. It is one of the most interesting features that I have worked on this summer which involved developing a deeper understanding of the merge and update workflow.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 18 Aug 2019 14:09:13 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-12-1/Coding Period: Week 11https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-11-1/<p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Hey everyone!! This is what I did this week. In this phase, I worked mostly on getting my previous patches on </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> merged and on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></strong></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I was asked to make some modifications on the patches that I previously sent regarding </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue </span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. I had to refactor things for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">graft</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and clean up the code. Further, I had to modify the code for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">transplant</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> too. I also worked on </span></span><span style="color: null;"><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg transplant --abort</span></span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and it is still under review.<br> The code for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> is still under progress.</span></span><br> <span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I am planning to get </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> series and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg transplant --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> merged. Also, I would like to get </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> to a decent review level.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></span></strong></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I did not get into any major problem. While refactoring code for graft I did face the problem of not being able to remove opts as the argument from updateopts function. However, I later realized that opts were not being loaded properly which was causing the bug . I will try to resolve this bug this week.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 11 Aug 2019 17:41:45 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-11-1/Coding Period: Week 10https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-10-1/<p><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">Hey everyone! This is what I did this week. In this phase, I worked mostly on the understanding of </span></span><span style="font-size: 16px;"><span style="font-family: Georgia,serif;"><span style="background-color: #ecf0f1;">mergestate</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> for developing a patch for </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">. This is the last part that I need to complete before GSoC deadline.</span></span></p> <p><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 24px;"><strong><span style="color: #3498db;">What did I do this week?</span></strong></span></span></p> <p><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">As stated previously I worked on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> and was able to get my patches for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> for evolve repository merged which included adding support for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg evolve</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg pick</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">. Also, I worked on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> support and was able to add support for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">. I will submit the patch for that once </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">pick</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> is also complete.<br> As for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> I went through the code for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg resolve -u</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> and<br> also </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">-at:local</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">. I learned what merge state stores and started writing the code adding </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">--abort</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> flag for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">.<br> I also received reviews for the continue patches I sent to the core repo and modified my patches according to that.</span></span></p> <p><span style="font-family: Comic Sans MS,cursive;"><strong><span style="font-size: 24px;"><span style="color: #3498db;">What is coming up next?</span></span></strong></span></p> <p><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">This week I am planning to complete support for </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">. Also, I would send my first patch for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">.</span></span></p> <p><span style="font-family: Comic Sans MS,cursive;"><strong><span style="font-size: 24px;"><span style="color: #3498db;">Did you get stuck anywhere?</span></span></strong></span></p> <p><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;">I got stuck with the logic of abort flag but @Pulkit pointed me to go through the code and documentation of </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">mergestate</span></span></span><span style="font-family: Comic Sans MS,cursive;"><span style="font-size: 18px;"> which helped me get a better understanding of the workflow.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 04 Aug 2019 16:22:45 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-10-1/Coding Period: Week 9https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-9-1/<p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Greetings everyone! Update for this week is as follows. In this phase, I sent the remaining patches required to complete </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> support for core Mercurial repository.</span></span></p> <p><span style="font-size: 22px;"><span style="color: #3498db;"><strong><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></strong></span></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">As stated in the previous week I sent patches for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">graft</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">, </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">transplant</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">histedit</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">.</span></span><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"> <a href="https://phab.mercurial-scm.org/D6659">[1]</a> <a href="https://phab.mercurial-scm.org/D6665">[2]</a> <a href="https://phab.mercurial-scm.org/D6678">[3]</a> <a href="https://phab.mercurial-scm.org/D6689">[4]</a></span></span><br> <span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I also created logic for </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg transplant --abort</span></span></span><a href="https://phab.mercurial-scm.org/D6695"><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;">[5]</span></span></a><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> as asked by @Pulkit and added its support to </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> plan </span></span><a href="https://phab.mercurial-scm.org/D6696"><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;">[6]</span></span></a><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. These patches are still to be merged and under review.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I am planning to complete support for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. Also, I will start my work on logic for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg update --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> which is one of the most demanded features for Mercurial.<br> My patches for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> merged as they still left to get reviews as most of the people in the community are busy with the new version release.</span></span></p> <p><strong><span style="font-size: 22px;"><span style="color: #3498db;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></span></span></strong></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I did get stuck when I started with the logic for aborting a transplant but @Pulkit again helped me out of the situation and suggested that I should look into the </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">recover</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> method of the </span></span><span style="color: null;"><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">transplanter</span></span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> class.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 28 Jul 2019 19:52:18 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-9-1/Coding Period: Week 8https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-8-1/<p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Hey everyone!  This is this update for this week. This blog describes basically how I started working on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and got my first four patches approved.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I started my work on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and sent the first patch regarding the logic for it </span></span><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/rHG3c16b9c0b0998471b2ed1093cbbacc9aa333b808">[1]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. Then subsequently I sent patches to add support for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">rebase</span></span></span><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/rHG35ebdbb38efb78f740330642ef086a96986d76f7">[2]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">unshelve</span></span></span><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/rHG117437f3f5415829bd8dbd27f7acb9cd921cc73f">[3]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and also for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">graft</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and it was queued but as it wasn't too refined it had to be de-queued and sent the fix</span></span><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/D6659">[4]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. This leaves </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">graft</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">, </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">tranplant </span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">and `histedit` to work on to complete </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> plan.</span></span></p> <p><span style="color: #3498db;"><span style="font-size: 22px;"><strong><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></strong></span></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I am planning to complete support for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">graft</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">, </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">transplant</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">histedit</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and get that approved. Also, I will try to apply it move to </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">.<br> I also am still planning on getting my patches for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> merged as they still left to get reviews as community is busy with the release.</span></span></p> <p><strong><span style="font-size: 22px;"><span style="color: #3498db;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></span></span></strong></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I did get stuck when I started adding support for the functions but <span style="background-color: #ecf0f1;">@Pulkit</span> again helped me out of the situation. I was not sure how to pass on the </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">opts</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for various commands when </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">continuefunc</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> is directly called . But the knowledge that </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">opts</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> are present in state file resolved it.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 21 Jul 2019 14:27:37 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-8-1/Coding Period: Week 7https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-7-1/<p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Greetings everyone!  This is this update for this week. This is all about how I<br> got </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> finally added to Mercurial. I also sent PRs to </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> repository adding its support.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I improved </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> further and finally got them accepted and merged. This marks the end of </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> plan for Mercurial core repository.<br> It will now be shipped with Mercurial version </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">5.1</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. It is still marked </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">EXPERIMENTAL</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> though as there is still a little doubt regarding its perfectness.<br> Also, my patch for bug code 6160 was finally merged. Completing integration with the core I moved to  Mercurial's </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> repository and added support for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for </span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><span style="background-color: #ecf0f1;">hg evolve --abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="color: null;"><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg pick --abort</span></span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> </span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://bitbucket.org/taapasX28/evolve/commits/ae145969db67b44309b46795f3c7657238cae315">[1]</a><a href="https://bitbucket.org/taapasX28/evolve/commits/ae59beb79f109c03d2b845b9496889a1e5985d8f">[2]</a><a href="https://bitbucket.org/taapasX28/evolve/commits/39bb369fedf0d1825db6a4f856ebd5cf22e2c2e8">[3]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. These patches are still under review.<br> I also started my work on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and was able to develop a logic for it and also apply it for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">histedit</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I am planning to start sending patches on </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> on Phabricator. Also I will try to apply it for the remaining commands in core and then move to </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">.<br> I also plan on getting my patches for </span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">evolve</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> merged.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I did get stuck a little when working with evolve repository but @av6 and @marmoute covered most of them for me. Besides that I wasn't stuck in something that was major.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 14 Jul 2019 19:35:39 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-7-1/Coding Period : Week 6https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-6-1/<p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">Hello people!  This is this weeks update. This week was spent mostly in the review of </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. It has now come up to be much refined and acceptable than it initially was.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I spent most of the time improving </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> patches according to the suggestions of @Pulkit</span></span><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"> <a href="https://phab.mercurial-scm.org/D6566">[1]</a> <a href="https://phab.mercurial-scm.org/D6567">[2]</a> <a href="https://phab.mercurial-scm.org/D6568">[3]</a> <a href="https://phab.mercurial-scm.org/D6579">[4]</a><a href="https://phab.mercurial-scm.org/D6582"> [5]</a> <a href="https://phab.mercurial-scm.org/D6588">[6]</a> <a href="https://phab.mercurial-scm.org/D6608">[7]</a></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. As the new release nears I was asked to mark it </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">EXPERIMENTAL</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> for now so that the related bugs can be dealt with before it is finally shipped with Mercurial.<br> I also worked on bug code 6160 </span></span><a href="https://bz.mercurial-scm.org/show_bug.cgi?id=6160"><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;">[8]</span></span></a><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">. Since it was very much related to the field I was working on so I was asked to fix it and I created a patch for that </span></span><a href="https://phab.mercurial-scm.org/D6607"><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;">[9]</span></span></a><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 22px;"><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">This week I am planning to start my work on </span></span><span style="font-size: 16px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and start sending the patches for that. I will also try to get </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 16px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;"> and my patch on issue 6160 committed this week.</span></span></p> <p><span style="color: #3498db;"><span style="font-size: 22px;"><strong><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></strong></span></span></p> <p><span style="font-size: 18px;"><span style="font-family: Comic Sans MS,cursive;">I did not get stuck with anything major this week. Small minor doubts did arise but the community and my mentor @Pulkit helped a lot.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 07 Jul 2019 17:07:15 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-6-1/Coding Period : Week 5https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-5-1/<p><span style="font-size: 20px;">Hey everyone !  This is the update of what I did this week. This week I got my API and its extended cases committed. Also, I completed the implementation of hg abort and pushed the patches for review.</span></p> <p><strong><span style="font-size: 24px;"><span style="color: #3498db;">What did I do this week?</span></span></strong></p> <p><span style="font-size: 20px;">This week as stated previous blog I completed the implementation for </span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"> and included shelve and merge in the plan. Also, I refined my patches and send them to Phabricator in a well-divided format.<br> In this period I also got my state detection API committed to the Mercurial repo. It's extended cases suggest by @martinvonz were dealt with and it was my patches were finally merged. I also updated the release notes regarding that. This marks an official end to the first sub-task that was the task of the unification of state detection APIs.</span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;">What is coming up next?</span></strong></span></p> <p><span style="font-size: 20px;">The coming week I am planning to get all of the patches for </span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"> approved and update the patches according to the reviews. There might be a lot of new features that might be needed to be added to that as </span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"> is still in its underdeveloped stage.<br> I will also work parallelly on </span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 20px;"> and see if I can prototype it.</span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 24px;">Did you get stuck anywhere?</span></strong></span></p> <p><span style="font-size: 20px;">I faced some problem when I was trying to include merge in the </span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="color: #ecf0f1;"> </span>plan. Though it took some time, I was able to figure out the workflow and make an appropriate patch for it.</span><br>  </p>taapas2897@gmail.com (taapasX28)Sun, 30 Jun 2019 20:25:39 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-5-1/Coding Period : Week 4https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-4-1/<p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">Hey everyone!!  This is the update for week 4 and hence the last week before the first evaluation. This week I mainly extended the state detection API to more cases which were not part of the plan but an essential for Mercurial. I also came up with the first implementation of </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort.</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> </span></span></p> <p><strong><span style="font-size: 24px;"><span style="color: #3498db;"><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></span></span></strong></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">As stated in the previous blog I got my PRs regarding the first sub-task accepted.</span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/D6484">[1]</a><a href="https://phab.mercurial-scm.org/D6501">[2]</a><a href="https://phab.mercurial-scm.org/D6502">[3]</a><a href="https://phab.mercurial-scm.org/D6503">[4]</a> </span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">@martinvonz suggested some extended cases for the API and I was interested to take that up and add those features. Also, I updated the release notes about the new API. <br> For </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">, I sent the first prototype for it which included the algorithm for </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">, the extension of state detection API to register abort functions and inclusion of </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">graft</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">, </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">rebase</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">histedit</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> into the plan. This leaves me with two remaining operations </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">merge</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">shelve</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">. I was able to write a prototype for shelve but since it was buggy I did not send it as a PR. I got my patch reviewed by @Pulkit on Bitbucket </span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://bitbucket.org/taapasX28/hg/commits/22a9d197e945c800f7231b238b40b9e7323cd3fa#comment-7624866">[5]</a></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">. He suggested me some changes I will send the patch directly to Phabricator.<br>    </span></span><br> <span style="color: #3498db;"><span style="font-size: 24px;"><span style="font-family: Comic Sans MS,cursive;"><strong>What is coming up next?</strong></span></span></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">The coming week I am planning to get all of the patches for extended API approved and will send the complete </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> patch to be reviewed. The work that is still left is cleaning up the patch and inclusion of </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">shelve</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> and abort as part of abort plan. <br> Towards the end of this week if time permits I would like to start with </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">. </span></span></p> <p><span style="color: #3498db;"><span style="font-size: 24px;"><strong><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></strong></span></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">During the start of </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> I did get stuck with what actually will the algorithm for it look like. Though I had a visualisation but was not quite clear with it. I discussed this with @Pulkit got my doubts cleared and went ahead with my work.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 23 Jun 2019 12:45:44 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-4-1/Coding Period : Week 3https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-3-1/<p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">Hey everyone !  This is the update of what I did this week. This week I tried to perfect my implementation of things and learned how to write code in a minimalistic way instead of long complex hunks. </span></span></p> <p><span style="color: #3498db;"><span style="font-size: 26px;"><strong><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></strong></span></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">This week was mostly spent on perfecting the unification code whose PRs I sent last week. I improved them and added a couple of new features. The prominent one being writing a method to register to </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">unfinishedstates</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">. I also worked on the unification of merge to </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">checkunfinishedstate()</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> method which would be a large change to the whole codebase as previously separate method per command were used to track down a merge in progress while the command was under execution. <br> I parallelly also tried to register abort methods for various commands in the core into the </span></span><span style="color: null;"><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">unfinishedstates</span></span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"><span style="color: null;"><span style="background-color: #ecf0f1;"> </span></span>list and develop a miniature </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> command. Its support needs to be extended to extensions and then it would be ready for review.</span></span></p> <p><span style="font-size: 26px;"><span style="color: #3498db;"><strong><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></strong></span></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">The coming week I am planning to get all of the patches for API unification approved and also will try to send some patches regarding </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">. <br> I will also work parallelly on the unification of </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">mergestate</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> to </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">checkunfinished()</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> because the unification of that would require addition of certain functionalities one of them being providing custom hints as per the command.</span></span></p> <p><span style="font-size: 26px;"><span style="color: #3498db;"><strong><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?</span></strong></span></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">While unifying the merge with other </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">unfinishedstates</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> I found the tests for </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg strip</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> were failing and the changes in them seemed quite illogical. I talked to my mentor about it and to much of a surprise he too found out that it was a bug in strip that it was allowed even when a merge was in progress. I prepared a patch for that and fixed that.</span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/rHG1acaa9f37377b6222f11625af3338fcb55d8dbfa">[6]</a></span></span><br> <span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">I also got stuck at the initial reviews of the patch which demanded merge and bisect to be registered at the end of the list. However, my mentor's suggestion on developing a registering mechanism came handy and that issue too was solved.</span></span><br>  </p>taapas2897@gmail.com (taapasX28)Sat, 15 Jun 2019 20:27:54 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-3-1/Coding Period : Week 2https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-2-1/<p> </p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">Hello everyone !! This is the update of what I did this week. This week was full of new learning experiences and a lot more productive than the last one.</span></span></p> <p><span style="color: #3498db;"><span style="font-size: 28px;"><strong><span style="font-family: Comic Sans MS,cursive;">What did I do this week?</span></strong></span></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">This week completed the implementation of unification of APIs subtask and uploaded my patches on Phabricator</span></span><strong><span style="font-size: 14px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://phab.mercurial-scm.org/D6484">[1]</a> <a href="https://phab.mercurial-scm.org/D6501">[2]</a> <a href="https://phab.mercurial-scm.org/D6502">[3]</a> <a href="https://phab.mercurial-scm.org/D6503">[4]</a> <a href="https://phab.mercurial-scm.org/D6504">[5]</a></span></span></strong><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> for final review. As I stated in the last blog, most of my doubts were resolved last week which gave me a headstart to proceed further. I was able to complete the subtask but I also needed to clean up the code and make it presentable on Phabricator. Initially, I uploaded the whole code at once which was quite untidy and difficult to review. Martin suggested me to break it down into simpler patches which was a little frustrating at first but later gave me a really important thing to learn that one should not only code from the perspective on an author but also from the perspective of a reviewer. Because in later times too if someone needs to check out changes that the code made, he or she may do so with ease. <br>  </span></span><br> <span style="color: #3498db;"><strong><span style="font-size: 28px;"><span style="font-family: Comic Sans MS,cursive;">What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">The coming week I will move according to the timeline in my proposal and start my work on </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span> </span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">and make it compatible with core commands like </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg graft</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">.<br> Also, I will be modifying my patches on the unification of APIs and get the patches merged. One of them has already been accepted.</span></span></p> <p><span style="color: #3498db;"><strong><span style="font-size: 28px;"><span style="font-family: Comic Sans MS,cursive;">Did you get stuck anywhere?Did you get stuck anywhere?</span></span></strong></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">During the starting of the week I was doubtful regarding some issues like<br> does </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">checkunfinishedstates()</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> be the part of the new class I created or not and so on. But my mentor Pulkit cleared most of them.<br> Later while splitting up my patch into smaller patches I was stuck in a condition where I needed to make an amend to a commit that was not the very recent one. I could not figure out the workflow and asked my mentor about it. He gave me manual of </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg evolve</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> to go through saying that would make my workflow more powerful. After going through it I realised how awesome Mercurial is and </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg evolve</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> is one of the coolest feature that I have seen in any VCS. It provides with a whole new level of flexibility and also I was able to learn how things work at changeset level when </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg amend</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> or for that matter and history editing function is used </span></span></p>taapas2897@gmail.com (taapasX28)Sun, 09 Jun 2019 13:38:17 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-2-1/Coding Period : Week 1https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-1-1/<p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">Hello everyone !! This is the weekly update of what I did this week. This week was full of ups and downs but in the end, was quite fruitful.</span></span></p> <p><span style="color: #2980b9;"><strong><span style="font-size: 26px;"><span style="font-family: Georgia,serif;">What did I do this week?</span></span></strong></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">This week as stated in my previous blog I tried to make a rough implementation of the code. I unified the state determining APIs and merged their functionalities w.r.t state determination. I pushed the code to my clone at bitbucket</span></span><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"><a href="https://bitbucket.org/taapasX28/hg/commits/d059778ae19d78b82b8d07c412052763052199e5">[1]</a> <a href="https://bitbucket.org/taapasX28/hg/commits/b0c9171a6a5ea182958a30b85e1555628051bc2a">[2]</a></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">. However as stated by my mentor, though the unification was alright it required to be a more generic implementation and a few more functionalities must be added to it which would help me in the implementation of </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> and </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">hg continue</span>.</span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> I had a video call with my mentor Pulkit today and he helped me clear my doubts and gave me an approach on how I could improvise my code. He asked me to proceed in steps and check for different implementations and then decide what was suitable for the task. He also advised me not to stay stuck with something for very long and ask questions if stuck.</span></span></p> <p><span style="color: #2980b9;"><strong><span style="font-size: 26px;"><span style="font-family: Georgia,serif;"> What is coming up next?</span></span></strong></span></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">The coming week I am planning to make my API more generic and finish it off as soon as possible so my mentor can review it and I can make the necessary modifications. Towards the end of the week, I also plan to start with the implementation of </span></span><span style="font-family: Courier New,Courier,monospace;"><span style="font-size: 18px;"><span style="background-color: #ecf0f1;">hg abort</span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"> given this task is complete.</span></span></p> <p><strong><span style="color: #3498db;"><span style="font-size: 26px;"><span style="font-family: Georgia,serif;">Did you get stuck anywhere?</span></span></span></strong></p> <p><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">During the starting of the coding period, I was a little unconfident about my implementation part but eventually, it did work out. Also, I got stuck with the values of </span></span><span style="font-size: 18px;"><span style="font-family: Courier New,Courier,monospace;"><span style="background-color: #ecf0f1;">allowcommit </span></span></span><span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;">flag for different commands in hg but my mentor Pulkit was there to help me out of the problem and pointed out the part of the code I should read to get the appropriate values. Most of my doubts were cleared this week and though the implementation was partially correct it gave me hint how to proceed. This week I plan to correct my wrongs and proceed forward with greater speed.</span></span></p>taapas2897@gmail.com (taapasX28)Sun, 02 Jun 2019 17:58:25 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-1-1/Introductory Bloghttps://blogs.python-gsoc.org/en/taapasx28s-blog/introductory-blog/<p><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;">Hey everyone! I am Taapas Agrawal, a sophomore at Indian Institute of Technology, Kharagpur. I am working under Sub-Org Mercurial, a distributed version control system. My project is about implementing </span><span style="font-family: Courier New,Courier,monospace;">hg abort</span><span style="font-family: Comic Sans MS,cursive;"> and </span><span style="font-family: Courier New,Courier,monospace;">hg abort</span><span style="font-family: Comic Sans MS,cursive;"> commands which are currently absent in Mercurial. This is what I will be working on for the next 12 weeks as my GSoC project.<br> My project is basically divided into three major tasks each having a variety of subtasks. The three major tasks are as follows:</span></span></p> <ul> <li> <p><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"> Unification of the state determining APIs.</span></span></p> </li> <li> <p><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;"> Implementation of </span><span style="font-family: Courier New,Courier,monospace;">hg abort</span><span style="font-family: Comic Sans MS,cursive;"> in core as well as extensions.</span></span></p> </li> <li> <p><span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;">Implementation of </span><span style="font-family: Courier New,Courier,monospace;">hg continue</span><span style="font-family: Comic Sans MS,cursive;"> in core as well as extensions.</span></span></p> </li> </ul> <p><span style="font-size: 16px;">Completing these 3 tasks timely would lead to the completion of my project.</span><br> <span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"><strong><span style="color: #3498db;">What did I do in the community bonding period?</span></strong></span></span><br> <span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;">During the first week of the Community bonding period, I had a 45 minutes video conference with my mentors which was basically to give a kick-start to the project. Many of my initial doubts were dealt with in the meeting and I was given a very good starting point from which I could start determining the solution of the first major task of Unification of APIs which in my view is toughest among the three. I was asked to send a mail in the Mercurial mailing list in case I have a major doubt or ping on IRC. <br> During the period I analysed the hint given and was able to understand the code better. I read through the code of the two APIs and tried to make a list what all the features and functionalities individually each of them has and how a combined API could be made to perform those tasks.<br> I asked any kind of doubts on IRC and the mentors were really helpful and gave me suitable hints. Towards the end, I was able to write a rough pseudo-code of what the new API will look like and started writing code for that.<br> During this period I also planned out how I will implement the other 2 major tasks of implementation of </span><span style="font-family: Courier New,Courier,monospace;">hg abort</span> <span style="font-family: Comic Sans MS,cursive;">and</span> <span style="font-family: Courier New,Courier,monospace;">hg continue</span>.</span><br> <span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"><strong><span style="color: #3498db;">What is coming up next?</span> </strong> </span></span><br> <span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;">The coming weeks I am planning to complete the code for the new API and get it reviewed by my mentor before actually merging it with the rest of the code. The patch will be buggy so I plan to remove these bugs as soon as possible with the help of my mentor.</span></span><br> <span style="font-size: 20px;"><span style="font-family: Comic Sans MS,cursive;"><strong><span style="color: #3498db;">Did you get stuck anywhere?</span></strong></span></span><br> <span style="font-size: 16px;"><span style="font-family: Comic Sans MS,cursive;">There were instances where I could not figure out what some pieces of code do and I came across functionalities which the two APIs had and that could not be combined as it is but require a totally new method and a new way of implementation. </span></span></p>taapas2897@gmail.com (taapasX28)Tue, 28 May 2019 19:45:43 +0000https://blogs.python-gsoc.org/en/taapasx28s-blog/introductory-blog/