Mercurial > evolve
diff tests/test-evolve.t @ 5317:011b53a9d03c mercurial-4.7
test-compat: merge mercurial-4.8 into mercurial-4.7
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 08 May 2020 22:18:15 +0800 |
parents | a7fb433faab6 30a924abda75 |
children | 88f9bbba392d d04a9bf34b79 |
line wrap: on
line diff
--- a/tests/test-evolve.t Fri May 08 20:36:32 2020 +0800 +++ b/tests/test-evolve.t Fri May 08 22:18:15 2020 +0800 @@ -378,8 +378,8 @@ $ hg up -r "desc('a nifty feature')" 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg revert -r "desc('another feature')" --all + adding file-from-B reverting main-file-1 - adding file-from-B $ sed -i'' -e s/Zwei/deux/ main-file-1 $ hg commit -m 'another feature that rox' -o 5 created new head @@ -503,7 +503,7 @@ adding manifests adding file changes added 1 changesets with 1 changes to 1 files - new changesets 702e4d0a6d86 (1 drafts) + new changesets 702e4d0a6d86 $ cd alpha $ cat << EOF > A @@ -536,7 +536,7 @@ checking manifests crosschecking files in changesets and manifests checking files - checked 3 changesets with 3 changes to 3 files + 3 files, 3 changesets, 3 total revisions $ hg --config extensions.hgext.mq= strip 'extinct()' abort: empty revision set [255] @@ -548,7 +548,7 @@ checking manifests crosschecking files in changesets and manifests checking files - checked 2 changesets with 2 changes to 2 files + 2 files, 2 changesets, 2 total revisions $ cd .. Clone just this branch @@ -562,7 +562,7 @@ adding file changes added 1 changesets with 1 changes to 1 files 1 new obsolescence markers - new changesets c6dda801837c (1 drafts) + new changesets c6dda801837c (run 'hg update' to get a working copy) $ hg up 2 files updated, 0 files merged, 0 files removed, 0 files unresolved @@ -761,10 +761,10 @@ @ d26d339c513f (12) add 4 |\ x | ce341209337f (4) add 4 - / folded(description, user, content) as d26d339c513f using fold by test (Thu Jan 01 00:00:00 1970 +0000) + / rewritten(description, user, content) as d26d339c513f using fold by test (Thu Jan 01 00:00:00 1970 +0000) | x cf0c3904643c (11) add 3 - |\ folded(description, user, parent, content) as d26d339c513f using fold by test (Thu Jan 01 00:00:00 1970 +0000) + |\ rewritten(description, user, parent, content) as d26d339c513f using fold by test (Thu Jan 01 00:00:00 1970 +0000) | | | \ | |\ @@ -781,17 +781,14 @@ more than 2 successors: 0 available keys: ef1: 10 - fold-id: 5 - fold-idx: 5 - fold-size: 5 operation: 10 user: 10 marker size: format v1: smallest length: 90 - longer length: 131 - median length: 130 - mean length: 110 + longer length: 92 + median length: 91 + mean length: 90 format v0: smallest length: * (glob) longer length: * (glob) @@ -1153,11 +1150,55 @@ > EOF $ hg next hg: unknown command 'next' - (use 'hg help' for a list of commands) + Mercurial Distributed SCM + + basic commands: + + add add the specified files on the next commit + annotate show changeset information by line for each file + clone make a copy of an existing repository + commit commit the specified files or all outstanding changes + diff diff repository (or selected files) + export dump the header and diffs for one or more changesets + forget forget the specified files on the next commit + init create a new repository in the given directory + log show revision history of entire repository or files + merge merge another revision into working directory + pull pull changes from the specified source + push push changes to the specified destination + remove remove the specified files on the next commit + serve start stand-alone webserver + status show changed files in the working directory + summary summarize working directory state + update update working directory (or switch revisions) + + (use 'hg help' for the full list of commands or 'hg -v' for details) [255] $ hg fold hg: unknown command 'fold' - (use 'hg help' for a list of commands) + Mercurial Distributed SCM + + basic commands: + + add add the specified files on the next commit + annotate show changeset information by line for each file + clone make a copy of an existing repository + commit commit the specified files or all outstanding changes + diff diff repository (or selected files) + export dump the header and diffs for one or more changesets + forget forget the specified files on the next commit + init create a new repository in the given directory + log show revision history of entire repository or files + merge merge another revision into working directory + pull pull changes from the specified source + push push changes to the specified destination + remove remove the specified files on the next commit + serve start stand-alone webserver + status show changed files in the working directory + summary summarize working directory state + update update working directory (or switch revisions) + + (use 'hg help' for the full list of commands or 'hg -v' for details) [255] Enabling commands selectively, only fold enabled, next is still unknown $ cat >> $HGRCPATH <<EOF @@ -1170,7 +1211,30 @@ [255] $ hg next hg: unknown command 'next' - (use 'hg help' for a list of commands) + Mercurial Distributed SCM + + basic commands: + + add add the specified files on the next commit + annotate show changeset information by line for each file + clone make a copy of an existing repository + commit commit the specified files or all outstanding changes + diff diff repository (or selected files) + export dump the header and diffs for one or more changesets + fold fold multiple revisions into a single one + forget forget the specified files on the next commit + init create a new repository in the given directory + log show revision history of entire repository or files + merge merge another revision into working directory + pull pull changes from the specified source + push push changes to the specified destination + remove remove the specified files on the next commit + serve start stand-alone webserver + status show changed files in the working directory + summary summarize working directory state + update update working directory (or switch revisions) + + (use 'hg help' for the full list of commands or 'hg -v' for details) [255] Shows "use 'hg evolve' to..." hints iff the evolve command is enabled