Closed
Bug 1116869
Opened 9 years ago
Closed 9 years ago
Make outgoing use the same auto --rev logic as push
Categories
(Developer Services :: Mercurial: firefoxtree, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: gps)
Details
(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4261] )
Attachments
(1 file)
4.09 KB,
patch
|
emorley
:
review+
|
Details | Diff | Splinter Review |
I like to use "hg outgoing" before I push to make sure I'm pushing the right things and haven't accidentally ended up with stuff in my tree I don't expect. But with firefoxtree installed "hg outgoing" doesn't show the same changesets as "hg push" will push because the latter defaults to "-r ." when pushing to a mozilla repo. outgoing should use the same defaults so I see the right changesets.
Updated•9 years ago
|
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/4261]
Assignee | ||
Comment 1•9 years ago
|
||
This is a reasonable request. I should be able to bang this out real quick.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
firefoxtree already limits considered revisions when interacting with Firefox trees via `hg push`. This change extends similar functionality to `hg outgoing` checks.
Attachment #8544371 -
Flags: review?(emorley)
Comment 3•9 years ago
|
||
Comment on attachment 8544371 [details] [diff] [review] firefoxtree: limit heads during outgoing against a Firefox repo () Review of attachment 8544371 [details] [diff] [review]: ----------------------------------------------------------------- ::: hgext/firefoxtree/__init__.py @@ +317,5 @@ > + low-level API used by discovery. Manipulating it could lead to unintended > + consequences. > + """ > + tree, uri = resolve_trees_to_uris([dest])[0] > + if isfirefoxrepo(repo) and uri: This differs from the behaviour for |hg push|, in that for push, using '.' isn't conditional on isfirefoxrepo(): https://hg.mozilla.org/hgcustom/version-control-tools/file/0b384be2ce9b/hgext/firefoxtree/__init__.py#l165 Should the behaviour for both be consistent?
Attachment #8544371 -
Flags: review?(emorley) → review+
Assignee | ||
Comment 4•9 years ago
|
||
https://hg.mozilla.org/hgcustom/version-control-tools/rev/1b9e2b8fccb3
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 5•9 years ago
|
||
Thanks, gps!
You need to log in
before you can comment on or make changes to this bug.
Description
•