tests/test-evolve.t
branchmercurial-4.1
changeset 2595 54ac473663ff
parent 2531 d3d686f05458
parent 2587 cbc7a69116bd
child 2597 22c05418ca71
child 2799 1627153804dc
equal deleted inserted replaced
2531:d3d686f05458 2595:54ac473663ff
   334   | x  1:568a468b60fc@default(draft) a nifty feature
   334   | x  1:568a468b60fc@default(draft) a nifty feature
   335   |/
   335   |/
   336   @  0:e55e0562ee93@default(public) base
   336   @  0:e55e0562ee93@default(public) base
   337   
   337   
   338   $ hg debugobsolete
   338   $ hg debugobsolete
   339   73296a82292a76fb8a7061969d2489ec0d84cd5e 6992c59c6b06a1b4a92e24ff884829ae026d018b 0 (*) {'user': 'test'} (glob)
   339   73296a82292a76fb8a7061969d2489ec0d84cd5e 6992c59c6b06a1b4a92e24ff884829ae026d018b 0 (*) {'ef1': '8', 'user': 'test'} (glob)
   340   c97947cdc7a2a11cf78419f5c2c3dd3944ec79e8 0 {73296a82292a76fb8a7061969d2489ec0d84cd5e} (*) {'user': 'test'} (glob)
   340   c97947cdc7a2a11cf78419f5c2c3dd3944ec79e8 0 {73296a82292a76fb8a7061969d2489ec0d84cd5e} (*) {'ef1': '0', 'user': 'test'} (glob)
   341   568a468b60fc99a42d5d4ddbe181caff1eef308d ba0ec09b1babf3489b567853807f452edd46704f 0 (*) {'user': 'test'} (glob)
   341   568a468b60fc99a42d5d4ddbe181caff1eef308d ba0ec09b1babf3489b567853807f452edd46704f 0 (*) {'ef1': '8', 'user': 'test'} (glob)
   342   c296b79833d1d497f33144786174bf35e04e44a3 0 {568a468b60fc99a42d5d4ddbe181caff1eef308d} (*) {'user': 'test'} (glob)
   342   c296b79833d1d497f33144786174bf35e04e44a3 0 {568a468b60fc99a42d5d4ddbe181caff1eef308d} (*) {'ef1': '0', 'user': 'test'} (glob)
   343   $ hg evolve
   343   $ hg evolve
   344   move:[4] another feature (child of 568a468b60fc)
   344   move:[4] another feature (child of 568a468b60fc)
   345   atop:[6] a nifty feature
   345   atop:[6] a nifty feature
   346   merging main-file-1
   346   merging main-file-1
   347   working directory is now at 99833d22b0c6
   347   working directory is now at 99833d22b0c6
   517   checking files
   517   checking files
   518   3 files, 4 changesets, 4 total revisions
   518   3 files, 4 changesets, 4 total revisions
   519   $ hg --config extensions.hgext.mq= strip 'extinct()'
   519   $ hg --config extensions.hgext.mq= strip 'extinct()'
   520   abort: empty revision set
   520   abort: empty revision set
   521   [255]
   521   [255]
   522   $ hg --config extensions.hgext.mq= strip --hidden 'extinct()'
   522 (do some garbare collection)
       
   523   $ hg --config extensions.hgext.mq= strip --hidden 'extinct()'  --config devel.strip-obsmarkers=no
   523   saved backup bundle to $TESTTMP/alpha/.hg/strip-backup/e87767087a57-d7bd82e9-backup.hg (glob)
   524   saved backup bundle to $TESTTMP/alpha/.hg/strip-backup/e87767087a57-d7bd82e9-backup.hg (glob)
   524   $ hg verify
   525   $ hg verify
   525   checking changesets
   526   checking changesets
   526   checking manifests
   527   checking manifests
   527   crosschecking files in changesets and manifests
   528   crosschecking files in changesets and manifests
   586   | o  1:73d38bb17fd7@default(draft) add 1
   587   | o  1:73d38bb17fd7@default(draft) add 1
   587   |/
   588   |/
   588   o  0:8685c6d34325@default(draft) add 0
   589   o  0:8685c6d34325@default(draft) add 0
   589   
   590   
   590   $ hg debugobsolete
   591   $ hg debugobsolete
   591   0e84df4912da4c7cad22a3b4fcfd58ddfb7c8ae9 0b9e50c35132ff548ec0065caea6a87e1ebcef32 0 (*) {'user': 'test'} (glob)
   592   0e84df4912da4c7cad22a3b4fcfd58ddfb7c8ae9 0b9e50c35132ff548ec0065caea6a87e1ebcef32 0 (*) {'ef1': '4', 'user': 'test'} (glob)
   592   db038628b9e56f51a454c0da0c508df247b41748 acb28cd497b7f8767e01ef70f68697a959573c2d 0 (*) {'user': 'test'} (glob)
   593   db038628b9e56f51a454c0da0c508df247b41748 acb28cd497b7f8767e01ef70f68697a959573c2d 0 (*) {'ef1': '13', 'user': 'test'} (glob)
   593 
   594 
   594 Test graft --continue
   595 Test graft --continue
   595 
   596 
   596   $ hg up -qC 0
   597   $ hg up -qC 0
   597   $ echo 2 > 1
   598   $ echo 2 > 1
   631   | o  1:73d38bb17fd7@default(draft) add 1
   632   | o  1:73d38bb17fd7@default(draft) add 1
   632   |/
   633   |/
   633   o  0:8685c6d34325@default(draft) add 0
   634   o  0:8685c6d34325@default(draft) add 0
   634   
   635   
   635   $ hg debugobsolete
   636   $ hg debugobsolete
   636   0e84df4912da4c7cad22a3b4fcfd58ddfb7c8ae9 0b9e50c35132ff548ec0065caea6a87e1ebcef32 0 (*) {'user': 'test'} (glob)
   637   0e84df4912da4c7cad22a3b4fcfd58ddfb7c8ae9 0b9e50c35132ff548ec0065caea6a87e1ebcef32 0 (*) {'ef1': '4', 'user': 'test'} (glob)
   637   db038628b9e56f51a454c0da0c508df247b41748 acb28cd497b7f8767e01ef70f68697a959573c2d 0 (*) {'user': 'test'} (glob)
   638   db038628b9e56f51a454c0da0c508df247b41748 acb28cd497b7f8767e01ef70f68697a959573c2d 0 (*) {'ef1': '13', 'user': 'test'} (glob)
   638   a5bfd90a2f29c7ccb8f917ff4e5013a9053d0a04 920e58bb443b73eea9d6d65570b4241051ea3229 0 (*) {'user': 'test'} (glob)
   639   a5bfd90a2f29c7ccb8f917ff4e5013a9053d0a04 920e58bb443b73eea9d6d65570b4241051ea3229 0 (*) {'ef1': '12', 'user': 'test'} (glob)
   639 
   640 
   640 Test touch
   641 Test touch
   641 
   642 
   642   $ glog
   643   $ glog
   643   @  8:920e58bb443b@default(draft) conflict
   644   @  8:920e58bb443b@default(draft) conflict
   771 
   772 
   772   $ hg olog | head -n 10 # hg touch makes the output unstable (fix it with devel option for more stable touch)
   773   $ hg olog | head -n 10 # hg touch makes the output unstable (fix it with devel option for more stable touch)
   773   @    d26d339c513f (12) add 4
   774   @    d26d339c513f (12) add 4
   774   |\
   775   |\
   775   x |    af636757ce3b (11) add 3
   776   x |    af636757ce3b (11) add 3
   776   |\ \     rewritten by test (*) as d26d339c513f (glob)
   777   |\ \     rewritten(description, user, parent, content) by test (*) as d26d339c513f (glob)
   777   | | |
   778   | | |
   778   | \ \
   779   | \ \
   779   | |\ \
   780   | |\ \
   780   | | | x  ce341209337f (4) add 4
   781   | | | x  ce341209337f (4) add 4
   781   | | |      rewritten by test (*) as d26d339c513f (glob)
   782   | | |      rewritten(description, user, content) by test (*) as d26d339c513f (glob)
   782   | | |
   783   | | |
   783 
   784 
   784 Test obsstore stat
   785 Test obsstore stat
   785 
   786 
   786   $ hg debugobsstorestat
   787   $ hg debugobsstorestat
   787   markers total:                     10
   788   markers total:                     10
   788       for known precursors:          10
   789       for known precursors:          10 (10/13 obsolete changesets)
   789       with parents data:              0
   790       with parents data:              0
   790   markers with no successors:         0
   791   markers with no successors:         0
   791                 1 successors:        10
   792                 1 successors:        10
   792                 2 successors:         0
   793                 2 successors:         0
   793       more than 2 successors:         0
   794       more than 2 successors:         0
   794       available  keys:
   795       available  keys:
       
   796                   ef1:               10
   795                  user:               10
   797                  user:               10
   796   marker size:
   798   marker size:
   797       format v1:
   799       format v1:
   798           smallest length:           69
   800           smallest length:           75
   799           longer length:             69
   801           longer length:             76
   800           median length:             69
   802           median length:             76
   801           mean length:               69
   803           mean length:               75
   802       format v0:
   804       format v0:
   803           smallest length:           * (glob)
   805           smallest length:           * (glob)
   804           longer length:             * (glob)
   806           longer length:             * (glob)
   805           median length:             * (glob)
   807           median length:             * (glob)
   806           mean length:               * (glob)
   808           mean length:               * (glob)