This is an archive of the discontinued Mercurial Phabricator instance.

remotenames: show remote bookmarks in `hg bookmarks`
ClosedPublic

Authored by pulkit on Mar 12 2018, 9:45 AM.

Details

Summary

This patch adds functionality to show list of remote bookmarks in hg bookmarks
command.

There is some indenting problem in the test output as the current bookmark
printing code in core can handle bookmark names of size 25 only gracefully.

The idea is taken from hgremotenames extension which has --remote and --all
flags to show remote bookmarks. However, this patch by defaults support showing
list of remote bookmarks if remotenames extension is enabled and remotebookmarks
are turned on.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Mar 12 2018, 9:45 AM
durin42 accepted this revision as: durin42.Mar 12 2018, 5:40 PM
durin42 added a subscriber: durin42.

Sounds nice.

pulkit updated this revision to Diff 7102.Mar 19 2018, 4:35 AM
pulkit updated this revision to Diff 7248.Mar 22 2018, 3:35 AM
indygreg accepted this revision.Mar 23 2018, 2:41 PM
This revision is now accepted and ready to land.Mar 23 2018, 2:41 PM
This revision was automatically updated to reflect the committed changes.