tests/test-rollback.t
changeset 39506 f1186c292d03
parent 36674 7bc33d677c0c
child 40591 c2aea007130b
equal deleted inserted replaced
39505:d629b6d2f05a 39506:f1186c292d03
     7   $ hg verify
     7   $ hg verify
     8   checking changesets
     8   checking changesets
     9   checking manifests
     9   checking manifests
    10   crosschecking files in changesets and manifests
    10   crosschecking files in changesets and manifests
    11   checking files
    11   checking files
    12   1 files, 1 changesets, 1 total revisions
    12   checked 1 changesets with 1 changes to 1 files
    13   $ hg parents
    13   $ hg parents
    14   changeset:   0:1f0dee641bb7
    14   changeset:   0:1f0dee641bb7
    15   tag:         tip
    15   tag:         tip
    16   user:        test
    16   user:        test
    17   date:        Thu Jan 01 00:00:00 1970 +0000
    17   date:        Thu Jan 01 00:00:00 1970 +0000
    26   $ hg verify
    26   $ hg verify
    27   checking changesets
    27   checking changesets
    28   checking manifests
    28   checking manifests
    29   crosschecking files in changesets and manifests
    29   crosschecking files in changesets and manifests
    30   checking files
    30   checking files
    31   0 files, 0 changesets, 0 total revisions
    31   checked 0 changesets with 0 changes to 0 files
    32   $ hg parents
    32   $ hg parents
    33   $ hg status
    33   $ hg status
    34   A a
    34   A a
    35 
    35 
    36 Two changesets this time so we rollback to a real changeset
    36 Two changesets this time so we rollback to a real changeset
   195   couldn't read journal entry 'foo\n'!
   195   couldn't read journal entry 'foo\n'!
   196   checking changesets
   196   checking changesets
   197   checking manifests
   197   checking manifests
   198   crosschecking files in changesets and manifests
   198   crosschecking files in changesets and manifests
   199   checking files
   199   checking files
   200   1 files, 2 changesets, 2 total revisions
   200   checked 2 changesets with 2 changes to 1 files
   201 
   201 
   202 rollback disabled by config
   202 rollback disabled by config
   203   $ cat >> $HGRCPATH <<EOF
   203   $ cat >> $HGRCPATH <<EOF
   204   > [ui]
   204   > [ui]
   205   > rollback = false
   205   > rollback = false
   434   $ hg verify
   434   $ hg verify
   435   checking changesets
   435   checking changesets
   436   checking manifests
   436   checking manifests
   437   crosschecking files in changesets and manifests
   437   crosschecking files in changesets and manifests
   438   checking files
   438   checking files
   439   1 files, 1 changesets, 1 total revisions
   439   checked 1 changesets with 1 changes to 1 files
   440 
   440 
   441   $ cd ..
   441   $ cd ..
   442 
   442 
   443 Multiple I/O errors after transaction open are handled.
   443 Multiple I/O errors after transaction open are handled.
   444 This is effectively what happens if a peer disconnects in the middle
   444 This is effectively what happens if a peer disconnects in the middle
   459   $ hg verify
   459   $ hg verify
   460   checking changesets
   460   checking changesets
   461   checking manifests
   461   checking manifests
   462   crosschecking files in changesets and manifests
   462   crosschecking files in changesets and manifests
   463   checking files
   463   checking files
   464   1 files, 2 changesets, 2 total revisions
   464   checked 2 changesets with 2 changes to 1 files
   465 
   465 
   466   $ cd ..
   466   $ cd ..