D3187: phase: add dry-run functionality

2020-01-24 Thread baymax (Baymax, Your Personal Patch-care Companion)
This revision now requires changes to proceed. baymax added a comment. baymax requested changes to this revision. There seems to have been no activities on this Diff for the past 3 Months. By policy, we are automatically moving it out of the `need-review` state. Please, move it back

D3187: phase: add dry-run functionality

2018-06-03 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 8962. khanchi97 edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3187?vs=8896=8962 REVISION DETAIL https://phab.mercurial-scm.org/D3187 AFFECTED FILES mercurial/commands.py

D3187: phase: add dry-run functionality

2018-05-29 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Nice work! I like where how you simplified things from previous version. If you look at the patch, this seems to do multiple things at once which are: - adding dry-run argument to advanceboundary and retractboundary functions - adding a new --dry-run flag to

D3187: phase: add dry-run functionality

2018-05-29 Thread khanchi97 (Sushil khanchi)
khanchi97 added a comment. @pulkit Now I moved the logic for finding revs (those phase will change) to advanceboundry and retractboundry function and for now it shows all nodes. I am working to show range instead. Take a look at this when you are free :) REPOSITORY rHG Mercurial

D3187: phase: add dry-run functionality

2018-05-25 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 8896. khanchi97 edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3187?vs=7877=8896 REVISION DETAIL https://phab.mercurial-scm.org/D3187 AFFECTED FILES mercurial/commands.py

D3187: phase: add dry-run functionality

2018-05-24 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D3187#57349, @khanchi97 wrote: > okay, but I have some queries like > > 1. How about showing revision no. instead of cset id? I think we should show cset ids. If you want to with rev numbers, go with that. This should

D3187: phase: add dry-run functionality

2018-05-24 Thread khanchi97 (Sushil khanchi)
khanchi97 added a comment. okay, but I have some queries like 1. How about showing revision no. instead of cset id? 2. And in this https://pastebin.com/raw/kWcr9xVK example if I change revision 2 phase to --secret then how it should print the range, I mean now we have branches in this

D3187: phase: add dry-run functionality

2018-05-20 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > commands.py:3898 > if newdata[cl.rev(n)] < targetphase] > +if opts['dry_run']: > +rejected = [] Since all the logic is copy-pasted from phases.advanceboundary and phases.retractboundary, why not we just

D3187: phase: add dry-run functionality

2018-04-10 Thread khanchi97 (Sushil khanchi)
khanchi97 added a comment. @pulkit Can you please review it? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3187 To: khanchi97, pulkit, #hg-reviewers Cc: av6, mercurial-devel ___ Mercurial-devel mailing list

D3187: phase: add dry-run functionality

2018-04-08 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 7877. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3187?vs=7874=7877 REVISION DETAIL https://phab.mercurial-scm.org/D3187 AFFECTED FILES mercurial/commands.py tests/test-completion.t tests/test-phases.t

D3187: phase: add dry-run functionality

2018-04-07 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > commands.py:3872 > +if opts['dry_run']: > +raise error.Abort(_("can't use --dryrun when no targetphase")) > # display `"cannot use --dry-run without target phase"` REPOSITORY rHG Mercurial REVISION DETAIL

D3187: phase: add dry-run functionality

2018-04-07 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 7874. khanchi97 retitled this revision from "phase: Add dry-run functionality" to "phase: add dry-run functionality". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3187?vs=7873=7874 REVISION DETAIL

D3187: phase: Add dry-run functionality

2018-04-07 Thread khanchi97 (Sushil khanchi)
khanchi97 created this revision. khanchi97 added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Added the logic to count the number of csets whose phases will be changed, for now it just prints the same stats as we get