------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4925/
------------------------------------------------------------------------------

New ticket #4925 by p-pautov
For Beanbag, Inc. > RBTools

Status: New
Tags: Priority:Medium, Type:Enhancement


------------------------------------------------------------------------------
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


------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20210501044341.12981.71523%40ip-10-1-54-209.ec2.internal.

Reply via email to