[PATCH V2] outgoing: Support pushrev (issue6106)

Yuya Nishihara yuya at tcha.org
Sat Apr 6 20:54:40 EDT 2019


On Sat, 6 Apr 2019 15:22:32 +0200, Kim Alvefur wrote:
> On Fri, Mar 29, 2019 at 07:45:55AM +0900, Yuya Nishihara wrote:
> > Can you test behavior with -b/--branch or PATH#REV syntax?
> > I think commands.push() won't take :pushrev if any revision is specified.
> 
> Oh dear, I didn't even know about path#rev. I guess there's also the
> `outgoing()` revset that should be considered.
> 
> How should -r, -b path#rev and pathrev interact?

Appears that the rev of path#rev is basically appended to the -rREVS list.

https://www.mercurial-scm.org/repo/hg/file/4.9.1/mercurial/hg.py#l100


More information about the Mercurial-devel mailing list