Mercurial > hg
comparison tests/test-rebase-abort.t @ 40864:09680349cc2d
rebase: format commit in usual way when explaining that it became empty
We use the _ctxdesc() for other similar messages, so it seems we
should use it here too.
Differential Revision: https://phab.mercurial-scm.org/D5394
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 07 Dec 2018 14:17:09 -0800 |
parents | 79c54e7c0c52 |
children | 4edd427f34c1 |
comparison
equal
deleted
inserted
replaced
40863:443eb4bc41af | 40864:09680349cc2d |
---|---|
204 |/ | 204 |/ |
205 o 0:public 'A' | 205 o 0:public 'A' |
206 | 206 |
207 $ hg rebase -b 4 -d 2 | 207 $ hg rebase -b 4 -d 2 |
208 rebasing 3:a6484957d6b9 "B bis" | 208 rebasing 3:a6484957d6b9 "B bis" |
209 note: rebase of 3:a6484957d6b9 created no changes to commit | 209 note: rebase of 3:a6484957d6b9 "B bis" created no changes to commit |
210 rebasing 4:145842775fec "C1" (tip) | 210 rebasing 4:145842775fec "C1" (tip) |
211 merging c | 211 merging c |
212 warning: conflicts while merging c! (edit, then use 'hg resolve --mark') | 212 warning: conflicts while merging c! (edit, then use 'hg resolve --mark') |
213 unresolved conflicts (see hg resolve, then hg rebase --continue) | 213 unresolved conflicts (see hg resolve, then hg rebase --continue) |
214 [1] | 214 [1] |
491 $ echo 'addedcontADDEDentadded' > root | 491 $ echo 'addedcontADDEDentadded' > root |
492 commit will cause merge conflict on rebase | 492 commit will cause merge conflict on rebase |
493 $ hg commit -m 'add content draft' -q | 493 $ hg commit -m 'add content draft' -q |
494 | 494 |
495 $ hg rebase -d 'public()' --tool :merge -q | 495 $ hg rebase -d 'public()' --tool :merge -q |
496 note: rebase of 3:0682fd3dabf5 created no changes to commit | 496 note: rebase of 3:0682fd3dabf5 "disappear draft" created no changes to commit |
497 warning: conflicts while merging root! (edit, then use 'hg resolve --mark') | 497 warning: conflicts while merging root! (edit, then use 'hg resolve --mark') |
498 unresolved conflicts (see hg resolve, then hg rebase --continue) | 498 unresolved conflicts (see hg resolve, then hg rebase --continue) |
499 [1] | 499 [1] |
500 $ hg rebase --abort | 500 $ hg rebase --abort |
501 rebase aborted | 501 rebase aborted |