D3764: rebase: improve output of --dry-run

2018-07-01 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9385. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9360=9385 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff

D3764: rebase: improve output of --dry-run

2018-06-29 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9360. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9348=9360 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff

D3764: rebase: improve output of --dry-run

2018-06-28 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9348. khanchi97 edited the summary of this revision. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9268=9348 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py

D3764: rebase: improve output of --dry-run

2018-06-24 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9268. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9266=9268 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff

D3764: rebase: improve output of --dry-run

2018-06-24 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9266. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9264=9266 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff

D3764: rebase: improve output of --dry-run

2018-06-23 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9264. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9263=9264 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff

D3764: rebase: improve output of --dry-run

2018-06-23 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9263. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9259=9263 REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff

D3764: rebase: improve output of --dry-run

2018-06-22 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 9259. khanchi97 retitled this revision from "rebase: no need to store backup during dry-run while aborting" to "rebase: improve output of --dry-run". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3764?vs=9258=9259

D3764: rebase: improve output of --dry-run

2018-06-19 Thread khanchi97 (Sushil khanchi)
khanchi97 added a comment. okay @pulkit , let me confirm if IIUC your points. 1. First thing is we would have a function which will accept a `return_code`(0 or 1) and `output_data` (what can happen without --dry-run) from any command (which has dry-run functionality). And will give

D3764: rebase: improve output of --dry-run

2018-06-18 Thread indygreg (Gregory Szorc)
indygreg added a comment. In https://phab.mercurial-scm.org/D3764#59425, @pulkit wrote: > Thinking out loud here: I see that `--dry-run` for rebase will be very useful for automation. How about returning 1 when there are conflicts and returning 0 when there are no conflicts? Also maybe

D3764: rebase: improve output of --dry-run

2018-06-18 Thread pulkit (Pulkit Goyal)
pulkit added a comment. Thinking out loud here: I see that `--dry-run` for rebase will be very useful for automation. How about returning 1 when there are conflicts and returning 0 when there are no conflicts? Also maybe we should add formatter support to the dry-run output for each command

D3764: rebase: improve output of --dry-run

2018-06-17 Thread khanchi97 (Sushil khanchi)
khanchi97 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3764 AFFECTED FILES hgext/rebase.py tests/test-rebase-inmemory.t CHANGE DETAILS diff --git