This is an archive of the discontinued Mercurial Phabricator instance.

remotenames: introduce a config option to allow creation of remote bookmarks
Needs RevisionPublic

Authored by pulkit on Mar 15 2018, 9:49 AM.

Details

Reviewers
indygreg
marmoute
Group Reviewers
hg-reviewers
Summary

This patch introduces another config option which if set to true, we can create
new bookmarks on the server using push command. An earlier patch added
capability to push to a certain bookmark on the server. If bookmark was not
already present on the server, we errored out. With
remotenames.createremotebookmark config set, the push will create that bookmark
on the server.

This series serves as a great feature for people who use bookmarks as after this
you can push changesets to a bookmark which does not exists locally. In other
words, you can push your changesets to a bookmark without having it locally.

This series will help people in having a non-local bookmark workflow involving
remotenames.

The functionality added in this patch is equivalent to --create flag to push
command added by hgremotenames extension.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Mar 15 2018, 9:49 AM
pulkit updated this revision to Diff 7105.Mar 19 2018, 4:36 AM
pulkit updated this revision to Diff 7251.Mar 22 2018, 3:35 AM
pulkit updated this revision to Diff 7288.Mar 26 2018, 7:47 AM
indygreg accepted this revision.Apr 11 2018, 1:35 PM
This revision is now accepted and ready to land.Apr 11 2018, 1:35 PM
marmoute requested changes to this revision.Apr 22 2020, 11:57 AM
marmoute added a subscriber: marmoute.

Baymax does not catch stuff in Accepted state, but this diff is over 2 years old, so resubmit if still relevant.

This revision now requires changes to proceed.Apr 22 2020, 11:57 AM