RBTools Ticket #4925: Use mercurial phases to determine pending changes

0 views
Skip to first unread message

Pavel

unread,
May 1, 2021, 12:43:52 AM5/1/21
to reviewboa...@googlegroups.com
To reply, visit https://hellosplat.com/s/beanbag/tickets/4925/

New ticket #4925 by p-pautov

For Beanbag, Inc. RBTools

Use mercurial phases to determine pending changes

What version are you running?

RBTools 1.0.2

Describe the enhancement and the motivation for it.

Currently, 'rbt post' invokes 'hg outgoing' command to determine the changes to be posted for review. That command requires network connectivity with the original hg repository, which can be absent, slow or require additional authentication.

At the same time, Mercurial phases provide a local mechanism of detecting whether commit was pushed into original repo or not. Here is an example command which lists all non-public commits in the current branch (without any network communication): hg log -r '(draft() or secret()) and ::.'

So the ask is to use commit phases as an alternative to 'hg outgoing' during 'rbt post'.

Please provide any additional information below.

https://www.mercurial-scm.org/wiki/Phases

New Priority:Medium Type:Enhancement
Reply all
Reply to author
Forward
0 new messages