Mercurial > hg
comparison tests/test-eol.t @ 23068:fb3e63c603e8 stable
eol: fix crash when handling removed files
ci --amend would in some cases fail after 650b5b6e75ed failed to refactor the
eol extension too.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 22 Oct 2014 16:10:23 +0200 |
parents | 79902f7e27df |
children | e955549cd045 |
comparison
equal
deleted
inserted
replaced
23067:420a051616ce | 23068:fb3e63c603e8 |
---|---|
523 $ cat a.txt | 523 $ cat a.txt |
524 third | 524 third |
525 fourth | 525 fourth |
526 fifth | 526 fifth |
527 | 527 |
528 amend of changesets with renamed/deleted files expose new code paths | |
529 | |
530 $ hg mv a.txt b.txt | |
531 $ hg ci --amend -q | |
532 $ hg diff -c. | |
533 diff --git a/a.txt b/b.txt | |
534 rename from a.txt | |
535 rename to b.txt | |
536 --- a/a.txt | |
537 +++ b/b.txt | |
538 @@ -1,2 +1,3 @@ | |
539 third | |
540 fourth | |
541 +fifth | |
542 | |
528 $ cd .. | 543 $ cd .. |