[issue3111] Collapsing changesets with rebase onto parent does not work

Laurens Holst bugs at mercurial.selenic.com
Fri Nov 18 08:09:06 CST 2011


New submission from Laurens Holst <laurens.nospam at grauw.nl>:

Hi,

If I have the following tree:

  0 -- 1 -- 2

I expect that I can use rebase --collapse to collapse changesets 2 and 1 on
top of changeset 0. However, when I try this nothing happens:

  $ mkdir test
  $ cd test
  $ hg init
  $ echo a > a
  $ hg add a
  $ hg commit -m a
  $ echo b > b
  $ hg add b
  $ hg commit -m b
  $ echo c > c
  $ hg add c
  $ hg commit -m c
  $ hg rebase --collapse --source 1 --dest 0
  nothing to rebase

----------
messages: 18108
nosy: Grauw
priority: bug
status: unread
title: Collapsing changesets with rebase onto parent does not work

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3111>
____________________________________________________


More information about the Mercurial-devel mailing list