1094 | |
1094 | |
1095 o 10 testbookmark: a1__ - test |
1095 o 10 testbookmark: a1__ - test |
1096 | |
1096 | |
1097 o 0 : a0 - test |
1097 o 0 : a0 - test |
1098 |
1098 |
|
1099 Enabling commands selectively, no command enabled, next and fold and unknown |
|
1100 $ cat >> $HGRCPATH <<EOF |
|
1101 > [experimental] |
|
1102 > evolution=createmarkers |
|
1103 > EOF |
|
1104 $ hg next |
|
1105 hg: unknown command 'next' |
|
1106 Mercurial Distributed SCM |
|
1107 |
|
1108 basic commands: |
|
1109 |
|
1110 add add the specified files on the next commit |
|
1111 annotate show changeset information by line for each file |
|
1112 clone make a copy of an existing repository |
|
1113 commit commit the specified files or all outstanding changes |
|
1114 diff diff repository (or selected files) |
|
1115 export dump the header and diffs for one or more changesets |
|
1116 forget forget the specified files on the next commit |
|
1117 init create a new repository in the given directory |
|
1118 log show revision history of entire repository or files |
|
1119 merge merge another revision into working directory |
|
1120 pull pull changes from the specified source |
|
1121 push push changes to the specified destination |
|
1122 remove remove the specified files on the next commit |
|
1123 serve start stand-alone webserver |
|
1124 status show changed files in the working directory |
|
1125 summary summarize working directory state |
|
1126 update update working directory (or switch revisions) |
|
1127 |
|
1128 (use "hg help" for the full list of commands or "hg -v" for details) |
|
1129 [255] |
|
1130 $ hg fold |
|
1131 hg: unknown command 'fold' |
|
1132 Mercurial Distributed SCM |
|
1133 |
|
1134 basic commands: |
|
1135 |
|
1136 add add the specified files on the next commit |
|
1137 annotate show changeset information by line for each file |
|
1138 clone make a copy of an existing repository |
|
1139 commit commit the specified files or all outstanding changes |
|
1140 diff diff repository (or selected files) |
|
1141 export dump the header and diffs for one or more changesets |
|
1142 forget forget the specified files on the next commit |
|
1143 init create a new repository in the given directory |
|
1144 log show revision history of entire repository or files |
|
1145 merge merge another revision into working directory |
|
1146 pull pull changes from the specified source |
|
1147 push push changes to the specified destination |
|
1148 remove remove the specified files on the next commit |
|
1149 serve start stand-alone webserver |
|
1150 status show changed files in the working directory |
|
1151 summary summarize working directory state |
|
1152 update update working directory (or switch revisions) |
|
1153 |
|
1154 (use "hg help" for the full list of commands or "hg -v" for details) |
|
1155 [255] |
|
1156 Enabling commands selectively, only fold enabled, next is still unknown |
|
1157 $ cat >> $HGRCPATH <<EOF |
|
1158 > [experimental] |
|
1159 > evolution=createmarkers |
|
1160 > evolutioncommands=fold |
|
1161 > EOF |
|
1162 $ hg fold |
|
1163 abort: no revisions specified |
|
1164 [255] |
|
1165 $ hg next |
|
1166 hg: unknown command 'next' |
|
1167 Mercurial Distributed SCM |
|
1168 |
|
1169 basic commands: |
|
1170 |
|
1171 add add the specified files on the next commit |
|
1172 annotate show changeset information by line for each file |
|
1173 clone make a copy of an existing repository |
|
1174 commit commit the specified files or all outstanding changes |
|
1175 diff diff repository (or selected files) |
|
1176 export dump the header and diffs for one or more changesets |
|
1177 fold fold multiple revisions into a single one |
|
1178 forget forget the specified files on the next commit |
|
1179 init create a new repository in the given directory |
|
1180 log show revision history of entire repository or files |
|
1181 merge merge another revision into working directory |
|
1182 pull pull changes from the specified source |
|
1183 push push changes to the specified destination |
|
1184 remove remove the specified files on the next commit |
|
1185 serve start stand-alone webserver |
|
1186 status show changed files in the working directory |
|
1187 summary summarize working directory state |
|
1188 update update working directory (or switch revisions) |
|
1189 |
|
1190 (use "hg help" for the full list of commands or "hg -v" for details) |
|
1191 [255] |
|
1192 |
|
1193 Restore all of the evolution features |
|
1194 |
|
1195 $ cat >> $HGRCPATH <<EOF |
|
1196 > [experimental] |
|
1197 > evolution=all |
|
1198 > EOF |
|
1199 |
1099 Check hg evolve --rev on singled out commit |
1200 Check hg evolve --rev on singled out commit |
1100 |
|
1101 |
|
1102 $ hg up 19 -C |
1201 $ hg up 19 -C |
1103 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1202 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1104 $ mkcommit j1 |
1203 $ mkcommit j1 |
1105 $ mkcommit j2 |
1204 $ mkcommit j2 |
1106 $ mkcommit j3 |
1205 $ mkcommit j3 |