[PATCH] outgoing: pay attention to `default:pushurl` for bookmarks and subrepos

Yuya Nishihara yuya at tcha.org
Wed May 30 07:00:19 EDT 2018


On Tue, 29 May 2018 20:35:42 +0900, Yuya Nishihara wrote:
> On Tue, 29 May 2018 00:42:23 -0400, Matt Harbison wrote:
> > # HG changeset patch
> > # User Matt Harbison <matt_harbison at yahoo.com>
> > # Date 1527485794 14400
> > #      Mon May 28 01:36:34 2018 -0400
> > # Node ID 8544cdf89153aa7c0ce5be9c4dfdc052b2bf5d60
> > # Parent  cc9aa88792fe8daf041521710f52be59c69b79eb
> > outgoing: pay attention to `default:pushurl` for bookmarks and subrepos

> >      if opts.get('bookmarks'):
> > -        dest = ui.expandpath(dest or 'default-push', dest or 'default')
> > +        dest = path.pushloc or path.loc
> >          dest, branches = hg.parseurl(dest, opts.get('branch'))
> 
> It isn't your fault, but maybe we shouldn't overwrite 'dest' here?

Never mind. I didn't know --bookmarks disables the normal path. Queued this,
thanks.


More information about the Mercurial-devel mailing list