[Bug 5813] New: pull --rebase via hgnested's npull doesn't rebase correctly
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Mar 11 17:29:04 UTC 2018
https://bz.mercurial-scm.org/show_bug.cgi?id=5813
Bug ID: 5813
Summary: pull --rebase via hgnested's npull doesn't rebase
correctly
Product: Mercurial
Version: unspecified
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: rebase
Assignee: bugzilla at mercurial-scm.org
Reporter: richard at NetBSD.org
CC: mercurial-devel at mercurial-scm.org
In using the hgnested extension for a project such as trytond, I found myself
wishing for support of the rebase extension in order to do simple rebases of
all the nested repositories when doing an hg npull -uv (--rebase).
I adapted a version of hgnested to use extsetup() allowing the rebase extension
to provide its '--rebase' option to the pull command.
(https://bitbucket.org/risto3/hgnested)
But I find that
> hg npull -uv --rebase
doesn't rebase as the same command would run as
> hg -R <nested-repository> pull -uv --rebase
for each nested repository
I use a very simple case where I have a local patch on top of the current
branch that should be rebased to the top again after the pull && update
I noted this in my issue on
https://bitbucket.org/cedk/hgnested/issues/35/add-rebase-to-npull and am
curious whether the astuce given
https://www.mercurial-scm.org/wiki/WritingExtensions#Wrapping_methods_on_the_ui_and_repo_classes
is pertinent, as rebase.py seems to do similar.
But, it is not totally clear when I have rebase= enabled in my global ~/.hgrc
that the extension is not going to work in nested repositories correctly.
Any guidance?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list