tests/test-histedit-edit.out
changeset 17085 35729bdd59b6
parent 17084 69dae7982c85
child 17086 5f2cacb715dc
equal deleted inserted replaced
17084:69dae7982c85 17085:35729bdd59b6
     1 % log before edit
       
     2 @  changeset:   5:652413bf663e
       
     3 |  tag:         tip
       
     4 |  user:        test
       
     5 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
     6 |  summary:     f
       
     7 |
       
     8 o  changeset:   4:e860deea161a
       
     9 |  user:        test
       
    10 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    11 |  summary:     e
       
    12 |
       
    13 o  changeset:   3:055a42cdd887
       
    14 |  user:        test
       
    15 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    16 |  summary:     d
       
    17 |
       
    18 o  changeset:   2:177f92b77385
       
    19 |  user:        test
       
    20 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    21 |  summary:     c
       
    22 |
       
    23 o  changeset:   1:d2ae7f538514
       
    24 |  user:        test
       
    25 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    26 |  summary:     b
       
    27 |
       
    28 o  changeset:   0:cb9a9f314b8b
       
    29    user:        test
       
    30    date:        Thu Jan 01 00:00:00 1970 +0000
       
    31    summary:     a
       
    32 
       
    33 % edit the history
       
    34 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
       
    35 abort: Make changes as needed, you may commit or record as needed now.
       
    36 When you are finished, run hg histedit --continue to resume.
       
    37 % commit, then edit the revision
       
    38 created new head
       
    39 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    40 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    41 @  changeset:   6:bf757c081cd0
       
    42 |  tag:         tip
       
    43 |  user:        test
       
    44 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    45 |  summary:     f
       
    46 |
       
    47 o  changeset:   5:d6b15fed32d4
       
    48 |  user:        test
       
    49 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    50 |  summary:     foobaz
       
    51 |
       
    52 o  changeset:   4:1a60820cd1f6
       
    53 |  user:        test
       
    54 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    55 |  summary:     wat
       
    56 |
       
    57 o  changeset:   3:055a42cdd887
       
    58 |  user:        test
       
    59 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    60 |  summary:     d
       
    61 |
       
    62 o  changeset:   2:177f92b77385
       
    63 |  user:        test
       
    64 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    65 |  summary:     c
       
    66 |
       
    67 o  changeset:   1:d2ae7f538514
       
    68 |  user:        test
       
    69 |  date:        Thu Jan 01 00:00:00 1970 +0000
       
    70 |  summary:     b
       
    71 |
       
    72 o  changeset:   0:cb9a9f314b8b
       
    73    user:        test
       
    74    date:        Thu Jan 01 00:00:00 1970 +0000
       
    75    summary:     a
       
    76 
       
    77 % contents of e:
       
    78 a
       
    79 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
    80 abort: Make changes as needed, you may commit or record as needed now.
       
    81 When you are finished, run hg histedit --continue to resume.
       
    82 A f
       
    83 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    84 % log after edit
       
    85 changeset:   6:bf757c081cd0
       
    86 tag:         tip
       
    87 user:        test
       
    88 date:        Thu Jan 01 00:00:00 1970 +0000
       
    89 summary:     f
       
    90 
       
    91 % say we'll change the message, but don't.
       
    92 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
    93 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    94 changeset:   6:bf757c081cd0
       
    95 tag:         tip
       
    96 user:        test
       
    97 date:        Thu Jan 01 00:00:00 1970 +0000
       
    98 summary:     f
       
    99 
       
   100 % modify the message
       
   101 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
       
   102 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
   103 changeset:   6:0b16746f8e89
       
   104 tag:         tip
       
   105 user:        test
       
   106 date:        Thu Jan 01 00:00:00 1970 +0000
       
   107 summary:     mess bf757c081cd0 f
       
   108 
       
   109 % rollback should not work after a histedit
       
   110 no rollback information available
       
   111 % EOF