This is an archive of the discontinued Mercurial Phabricator instance.

infinitepush: handle remotenames hoisting correctly
ClosedPublic

Authored by stash on Jul 21 2017, 11:02 AM.
Tags
None
Subscribers

Details

Reviewers
ryanmce
Group Reviewers
Restricted Project
Commits
rFBHGXee46b6fe5037: infinitepush: handle remotenames hoisting correctly
Summary

There was a report from an infinitepush user who complained about
hg update remote/scratch/book failing to pull the bookmark, while
hg update scratch/book pulling fine. It confuses users because they see
remote/scratch/book in smartlog.

On the other hand let's not allow hg pull -B remote/scratch/book to stay
consistent with remotenames.

Test Plan

Slowly run tests

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Branch
default
Lint
Lint OK
Unit
Unit Tests OK

Event Timeline

stash created this revision.Jul 21 2017, 11:02 AM
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 21 2017, 11:02 AM
ryanmce accepted this revision.Jul 21 2017, 11:08 AM
ryanmce added a subscriber: ryanmce.

Seems reasonable.

This revision is now accepted and ready to land.Jul 21 2017, 11:08 AM
This revision was automatically updated to reflect the committed changes.