Mercurial > hg
comparison tests/test-histedit-edit.t @ 27544:a4f008612727
test-histedit-edit: test histedit with dirty repo
author | timeless <timeless@mozdev.org> |
---|---|
date | Fri, 11 Dec 2015 07:08:36 +0000 |
parents | bf0900d3819c |
children | a67d2e059a51 |
comparison
equal
deleted
inserted
replaced
27543:ff0e4c8e642d | 27544:a4f008612727 |
---|---|
55 o changeset: 0:cb9a9f314b8b | 55 o changeset: 0:cb9a9f314b8b |
56 user: test | 56 user: test |
57 date: Thu Jan 01 00:00:00 1970 +0000 | 57 date: Thu Jan 01 00:00:00 1970 +0000 |
58 summary: a | 58 summary: a |
59 | 59 |
60 dirty a file | |
61 $ echo a > g | |
62 $ hg histedit 177f92b77385 --commands - 2>&1 << EOF | |
63 > EOF | |
64 abort: uncommitted changes | |
65 [255] | |
66 $ echo g > g | |
60 | 67 |
61 edit the history | 68 edit the history |
62 $ hg histedit 177f92b77385 --commands - 2>&1 << EOF| fixbundle | 69 $ hg histedit 177f92b77385 --commands - 2>&1 << EOF| fixbundle |
63 > pick 177f92b77385 c | 70 > pick 177f92b77385 c |
64 > pick 055a42cdd887 d | 71 > pick 055a42cdd887 d |