How can I rebase without destroying changeset metadata?
Patrick Mézard
patrick at mezard.eu
Mon Jan 14 16:19:05 UTC 2013
On Mon, Jan 14, 2013 at 4:53 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
> On 01/14/2013 12:43 PM, dukeofgaming wrote:
>
> Yeah, nope, not there.
>
>
> That sounds like a bug.
Actually, that was by design: some extra fields can be safely moved,
other cannot (branch name for instance). At API level you can register
a callback to filter the fields you want but not at CLI level. Mads
suggested the default behaviour (not rebasing fields) could be changed
to rebase them always. I am afraid this comes a little too late and
might be surprising for many extensions.
That said, I got bitten by the very same problem in hgsubversion,
though it can be fixed there.
--
Patrick Mezard
More information about the Mercurial
mailing list