Fossil SCM
In the 'mv-rm' test, adjust formatting of expected results containing 'DELETE' and 'REVERT', also to account for recent code changes.
Commit
11444dbec7c2e25d6f5d895c3b4d213f73c09d03
Parent
81df0a48f7350f4…
1 file changed
+16
-16
+16
-16
| --- test/mv-rm.test | ||
| +++ test/mv-rm.test | ||
| @@ -68,11 +68,11 @@ | ||
| 68 | 68 | fossil mv ../f1 . |
| 69 | 69 | test mv-soft-relative-1 {$RESULT eq "RENAME f1 subdir1/f1"} |
| 70 | 70 | |
| 71 | 71 | fossil revert |
| 72 | 72 | test mv-soft-relative-2 { |
| 73 | - [normalize_result] eq "DELETE: subdir1/f1\nREVERTED: f1${undoMsg}" | |
| 73 | + [normalize_result] eq "DELETE subdir1/f1\nREVERT f1${undoMsg}" | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | cd $rootDir |
| 77 | 77 | |
| 78 | 78 | ################################### |
| @@ -85,11 +85,11 @@ | ||
| 85 | 85 | fossil mv ../f2 ./f2 |
| 86 | 86 | test mv-soft-relative-3 {$RESULT eq "RENAME f2 subdir2/f2"} |
| 87 | 87 | |
| 88 | 88 | fossil revert |
| 89 | 89 | test mv-soft-relative-4 { |
| 90 | - [normalize_result] eq "DELETE: subdir2/f2\nREVERTED: f2${undoMsg}" | |
| 90 | + [normalize_result] eq "DELETE subdir2/f2\nREVERT f2${undoMsg}" | |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | cd $rootDir |
| 94 | 94 | |
| 95 | 95 | ######################################## |
| @@ -104,11 +104,11 @@ | ||
| 104 | 104 | [normalize_result] eq "RENAME f3 subdir3/f3\nMOVED_FILE ${rootDir}/f3" |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | fossil revert |
| 108 | 108 | test mv-hard-relative-2 { |
| 109 | - [normalize_result] eq "DELETE: subdir3/f3\nREVERTED: f3${undoMsg}" | |
| 109 | + [normalize_result] eq "DELETE subdir3/f3\nREVERT f3${undoMsg}" | |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | cd $rootDir |
| 113 | 113 | |
| 114 | 114 | ################################### |
| @@ -123,11 +123,11 @@ | ||
| 123 | 123 | [normalize_result] eq "RENAME f4 subdir4/f4\nMOVED_FILE ${rootDir}/f4" |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | fossil revert |
| 127 | 127 | test mv-hard-relative-4 { |
| 128 | - [normalize_result] eq "DELETE: subdir4/f4\nREVERTED: f4${undoMsg}" | |
| 128 | + [normalize_result] eq "DELETE subdir4/f4\nREVERT f4${undoMsg}" | |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | cd $rootDir |
| 132 | 132 | |
| 133 | 133 | ######################################## |
| @@ -140,11 +140,11 @@ | ||
| 140 | 140 | fossil mv [file join $rootDir f5] [file join $rootDir subdir5] |
| 141 | 141 | test mv-soft-absolute-1 {$RESULT eq "RENAME f5 subdir5/f5"} |
| 142 | 142 | |
| 143 | 143 | fossil revert |
| 144 | 144 | test mv-soft-absolute-2 { |
| 145 | - [normalize_result] eq "DELETE: subdir5/f5\nREVERTED: f5${undoMsg}" | |
| 145 | + [normalize_result] eq "DELETE subdir5/f5\nREVERT f5${undoMsg}" | |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | cd $rootDir |
| 149 | 149 | |
| 150 | 150 | ################################### |
| @@ -157,11 +157,11 @@ | ||
| 157 | 157 | fossil mv [file join $rootDir f6] [file join $rootDir subdir6 f6] |
| 158 | 158 | test mv-soft-absolute-3 {$RESULT eq "RENAME f6 subdir6/f6"} |
| 159 | 159 | |
| 160 | 160 | fossil revert |
| 161 | 161 | test mv-soft-absolute-4 { |
| 162 | - [normalize_result] eq "DELETE: subdir6/f6\nREVERTED: f6${undoMsg}" | |
| 162 | + [normalize_result] eq "DELETE subdir6/f6\nREVERT f6${undoMsg}" | |
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | cd $rootDir |
| 166 | 166 | |
| 167 | 167 | ######################################## |
| @@ -176,11 +176,11 @@ | ||
| 176 | 176 | [normalize_result] eq "RENAME f7 subdir7/f7\nMOVED_FILE ${rootDir}/f7" |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | fossil revert |
| 180 | 180 | test mv-hard-absolute-2 { |
| 181 | - [normalize_result] eq "DELETE: subdir7/f7\nREVERTED: f7${undoMsg}" | |
| 181 | + [normalize_result] eq "DELETE subdir7/f7\nREVERT f7${undoMsg}" | |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | cd $rootDir |
| 185 | 185 | |
| 186 | 186 | ################################### |
| @@ -195,11 +195,11 @@ | ||
| 195 | 195 | [normalize_result] eq "RENAME f8 subdir8/f8\nMOVED_FILE ${rootDir}/f8" |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | fossil revert |
| 199 | 199 | test mv-hard-absolute-4 { |
| 200 | - [normalize_result] eq "DELETE: subdir8/f8\nREVERTED: f8${undoMsg}" | |
| 200 | + [normalize_result] eq "DELETE subdir8/f8\nREVERT f8${undoMsg}" | |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | 203 | cd $rootDir |
| 204 | 204 | |
| 205 | 205 | ########################################## |
| @@ -221,11 +221,11 @@ | ||
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | fossil revert |
| 224 | 224 | test rm-soft-relative-4 { |
| 225 | 225 | [normalize_result] eq \ |
| 226 | - "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" | |
| 226 | + "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" | |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | cd $rootDir |
| 230 | 230 | |
| 231 | 231 | ###################################### |
| @@ -238,11 +238,11 @@ | ||
| 238 | 238 | fossil rm ../f2 |
| 239 | 239 | test rm-soft-relative-5 {$RESULT eq "DELETED f2"} |
| 240 | 240 | |
| 241 | 241 | fossil revert |
| 242 | 242 | test rm-soft-relative-6 { |
| 243 | - [normalize_result] eq "REVERTED: f2${undoMsg}" | |
| 243 | + [normalize_result] eq "REVERT f2${undoMsg}" | |
| 244 | 244 | } |
| 245 | 245 | |
| 246 | 246 | cd $rootDir |
| 247 | 247 | |
| 248 | 248 | ########################################### |
| @@ -271,11 +271,11 @@ | ||
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | fossil revert |
| 274 | 274 | test rm-hard-relative-4 { |
| 275 | 275 | [normalize_result] eq \ |
| 276 | - "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" | |
| 276 | + "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" | |
| 277 | 277 | } |
| 278 | 278 | |
| 279 | 279 | cd $rootDir |
| 280 | 280 | |
| 281 | 281 | ###################################### |
| @@ -290,11 +290,11 @@ | ||
| 290 | 290 | [normalize_result] eq "DELETED f4\nDELETED_FILE ${rootDir}/f4" |
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | fossil revert |
| 294 | 294 | test rm-hard-relative-6 { |
| 295 | - [normalize_result] eq "REVERTED: f4${undoMsg}" | |
| 295 | + [normalize_result] eq "REVERT f4${undoMsg}" | |
| 296 | 296 | } |
| 297 | 297 | |
| 298 | 298 | cd $rootDir |
| 299 | 299 | |
| 300 | 300 | ########################################### |
| @@ -316,11 +316,11 @@ | ||
| 316 | 316 | } |
| 317 | 317 | |
| 318 | 318 | fossil revert |
| 319 | 319 | test rm-soft-absolute-4 { |
| 320 | 320 | [normalize_result] eq \ |
| 321 | - "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" | |
| 321 | + "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" | |
| 322 | 322 | } |
| 323 | 323 | |
| 324 | 324 | cd $rootDir |
| 325 | 325 | |
| 326 | 326 | ###################################### |
| @@ -333,11 +333,11 @@ | ||
| 333 | 333 | fossil rm [file join $rootDir f6] |
| 334 | 334 | test rm-soft-absolute-5 {$RESULT eq "DELETED f6"} |
| 335 | 335 | |
| 336 | 336 | fossil revert |
| 337 | 337 | test rm-soft-absolute-6 { |
| 338 | - [normalize_result] eq "REVERTED: f6${undoMsg}" | |
| 338 | + [normalize_result] eq "REVERT f6${undoMsg}" | |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | 341 | cd $rootDir |
| 342 | 342 | |
| 343 | 343 | ########################################### |
| @@ -364,11 +364,11 @@ | ||
| 364 | 364 | } |
| 365 | 365 | |
| 366 | 366 | fossil revert |
| 367 | 367 | test rm-hard-absolute-4 { |
| 368 | 368 | [normalize_result] eq \ |
| 369 | - "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" | |
| 369 | + "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" | |
| 370 | 370 | } |
| 371 | 371 | |
| 372 | 372 | cd $rootDir |
| 373 | 373 | |
| 374 | 374 | ###################################### |
| @@ -383,9 +383,9 @@ | ||
| 383 | 383 | [normalize_result] eq "DELETED f8\nDELETED_FILE ${rootDir}/f8" |
| 384 | 384 | } |
| 385 | 385 | |
| 386 | 386 | fossil revert |
| 387 | 387 | test rm-hard-absolute-6 { |
| 388 | - [normalize_result] eq "REVERTED: f8${undoMsg}" | |
| 388 | + [normalize_result] eq "REVERT f8${undoMsg}" | |
| 389 | 389 | } |
| 390 | 390 | |
| 391 | 391 | cd $rootDir |
| 392 | 392 |
| --- test/mv-rm.test | |
| +++ test/mv-rm.test | |
| @@ -68,11 +68,11 @@ | |
| 68 | fossil mv ../f1 . |
| 69 | test mv-soft-relative-1 {$RESULT eq "RENAME f1 subdir1/f1"} |
| 70 | |
| 71 | fossil revert |
| 72 | test mv-soft-relative-2 { |
| 73 | [normalize_result] eq "DELETE: subdir1/f1\nREVERTED: f1${undoMsg}" |
| 74 | } |
| 75 | |
| 76 | cd $rootDir |
| 77 | |
| 78 | ################################### |
| @@ -85,11 +85,11 @@ | |
| 85 | fossil mv ../f2 ./f2 |
| 86 | test mv-soft-relative-3 {$RESULT eq "RENAME f2 subdir2/f2"} |
| 87 | |
| 88 | fossil revert |
| 89 | test mv-soft-relative-4 { |
| 90 | [normalize_result] eq "DELETE: subdir2/f2\nREVERTED: f2${undoMsg}" |
| 91 | } |
| 92 | |
| 93 | cd $rootDir |
| 94 | |
| 95 | ######################################## |
| @@ -104,11 +104,11 @@ | |
| 104 | [normalize_result] eq "RENAME f3 subdir3/f3\nMOVED_FILE ${rootDir}/f3" |
| 105 | } |
| 106 | |
| 107 | fossil revert |
| 108 | test mv-hard-relative-2 { |
| 109 | [normalize_result] eq "DELETE: subdir3/f3\nREVERTED: f3${undoMsg}" |
| 110 | } |
| 111 | |
| 112 | cd $rootDir |
| 113 | |
| 114 | ################################### |
| @@ -123,11 +123,11 @@ | |
| 123 | [normalize_result] eq "RENAME f4 subdir4/f4\nMOVED_FILE ${rootDir}/f4" |
| 124 | } |
| 125 | |
| 126 | fossil revert |
| 127 | test mv-hard-relative-4 { |
| 128 | [normalize_result] eq "DELETE: subdir4/f4\nREVERTED: f4${undoMsg}" |
| 129 | } |
| 130 | |
| 131 | cd $rootDir |
| 132 | |
| 133 | ######################################## |
| @@ -140,11 +140,11 @@ | |
| 140 | fossil mv [file join $rootDir f5] [file join $rootDir subdir5] |
| 141 | test mv-soft-absolute-1 {$RESULT eq "RENAME f5 subdir5/f5"} |
| 142 | |
| 143 | fossil revert |
| 144 | test mv-soft-absolute-2 { |
| 145 | [normalize_result] eq "DELETE: subdir5/f5\nREVERTED: f5${undoMsg}" |
| 146 | } |
| 147 | |
| 148 | cd $rootDir |
| 149 | |
| 150 | ################################### |
| @@ -157,11 +157,11 @@ | |
| 157 | fossil mv [file join $rootDir f6] [file join $rootDir subdir6 f6] |
| 158 | test mv-soft-absolute-3 {$RESULT eq "RENAME f6 subdir6/f6"} |
| 159 | |
| 160 | fossil revert |
| 161 | test mv-soft-absolute-4 { |
| 162 | [normalize_result] eq "DELETE: subdir6/f6\nREVERTED: f6${undoMsg}" |
| 163 | } |
| 164 | |
| 165 | cd $rootDir |
| 166 | |
| 167 | ######################################## |
| @@ -176,11 +176,11 @@ | |
| 176 | [normalize_result] eq "RENAME f7 subdir7/f7\nMOVED_FILE ${rootDir}/f7" |
| 177 | } |
| 178 | |
| 179 | fossil revert |
| 180 | test mv-hard-absolute-2 { |
| 181 | [normalize_result] eq "DELETE: subdir7/f7\nREVERTED: f7${undoMsg}" |
| 182 | } |
| 183 | |
| 184 | cd $rootDir |
| 185 | |
| 186 | ################################### |
| @@ -195,11 +195,11 @@ | |
| 195 | [normalize_result] eq "RENAME f8 subdir8/f8\nMOVED_FILE ${rootDir}/f8" |
| 196 | } |
| 197 | |
| 198 | fossil revert |
| 199 | test mv-hard-absolute-4 { |
| 200 | [normalize_result] eq "DELETE: subdir8/f8\nREVERTED: f8${undoMsg}" |
| 201 | } |
| 202 | |
| 203 | cd $rootDir |
| 204 | |
| 205 | ########################################## |
| @@ -221,11 +221,11 @@ | |
| 221 | } |
| 222 | |
| 223 | fossil revert |
| 224 | test rm-soft-relative-4 { |
| 225 | [normalize_result] eq \ |
| 226 | "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" |
| 227 | } |
| 228 | |
| 229 | cd $rootDir |
| 230 | |
| 231 | ###################################### |
| @@ -238,11 +238,11 @@ | |
| 238 | fossil rm ../f2 |
| 239 | test rm-soft-relative-5 {$RESULT eq "DELETED f2"} |
| 240 | |
| 241 | fossil revert |
| 242 | test rm-soft-relative-6 { |
| 243 | [normalize_result] eq "REVERTED: f2${undoMsg}" |
| 244 | } |
| 245 | |
| 246 | cd $rootDir |
| 247 | |
| 248 | ########################################### |
| @@ -271,11 +271,11 @@ | |
| 271 | } |
| 272 | |
| 273 | fossil revert |
| 274 | test rm-hard-relative-4 { |
| 275 | [normalize_result] eq \ |
| 276 | "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" |
| 277 | } |
| 278 | |
| 279 | cd $rootDir |
| 280 | |
| 281 | ###################################### |
| @@ -290,11 +290,11 @@ | |
| 290 | [normalize_result] eq "DELETED f4\nDELETED_FILE ${rootDir}/f4" |
| 291 | } |
| 292 | |
| 293 | fossil revert |
| 294 | test rm-hard-relative-6 { |
| 295 | [normalize_result] eq "REVERTED: f4${undoMsg}" |
| 296 | } |
| 297 | |
| 298 | cd $rootDir |
| 299 | |
| 300 | ########################################### |
| @@ -316,11 +316,11 @@ | |
| 316 | } |
| 317 | |
| 318 | fossil revert |
| 319 | test rm-soft-absolute-4 { |
| 320 | [normalize_result] eq \ |
| 321 | "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" |
| 322 | } |
| 323 | |
| 324 | cd $rootDir |
| 325 | |
| 326 | ###################################### |
| @@ -333,11 +333,11 @@ | |
| 333 | fossil rm [file join $rootDir f6] |
| 334 | test rm-soft-absolute-5 {$RESULT eq "DELETED f6"} |
| 335 | |
| 336 | fossil revert |
| 337 | test rm-soft-absolute-6 { |
| 338 | [normalize_result] eq "REVERTED: f6${undoMsg}" |
| 339 | } |
| 340 | |
| 341 | cd $rootDir |
| 342 | |
| 343 | ########################################### |
| @@ -364,11 +364,11 @@ | |
| 364 | } |
| 365 | |
| 366 | fossil revert |
| 367 | test rm-hard-absolute-4 { |
| 368 | [normalize_result] eq \ |
| 369 | "REVERTED: subdirB/f9\nREVERTED: subdirC/f10\nREVERTED: subdirC/f11${undoMsg}" |
| 370 | } |
| 371 | |
| 372 | cd $rootDir |
| 373 | |
| 374 | ###################################### |
| @@ -383,9 +383,9 @@ | |
| 383 | [normalize_result] eq "DELETED f8\nDELETED_FILE ${rootDir}/f8" |
| 384 | } |
| 385 | |
| 386 | fossil revert |
| 387 | test rm-hard-absolute-6 { |
| 388 | [normalize_result] eq "REVERTED: f8${undoMsg}" |
| 389 | } |
| 390 | |
| 391 | cd $rootDir |
| 392 |
| --- test/mv-rm.test | |
| +++ test/mv-rm.test | |
| @@ -68,11 +68,11 @@ | |
| 68 | fossil mv ../f1 . |
| 69 | test mv-soft-relative-1 {$RESULT eq "RENAME f1 subdir1/f1"} |
| 70 | |
| 71 | fossil revert |
| 72 | test mv-soft-relative-2 { |
| 73 | [normalize_result] eq "DELETE subdir1/f1\nREVERT f1${undoMsg}" |
| 74 | } |
| 75 | |
| 76 | cd $rootDir |
| 77 | |
| 78 | ################################### |
| @@ -85,11 +85,11 @@ | |
| 85 | fossil mv ../f2 ./f2 |
| 86 | test mv-soft-relative-3 {$RESULT eq "RENAME f2 subdir2/f2"} |
| 87 | |
| 88 | fossil revert |
| 89 | test mv-soft-relative-4 { |
| 90 | [normalize_result] eq "DELETE subdir2/f2\nREVERT f2${undoMsg}" |
| 91 | } |
| 92 | |
| 93 | cd $rootDir |
| 94 | |
| 95 | ######################################## |
| @@ -104,11 +104,11 @@ | |
| 104 | [normalize_result] eq "RENAME f3 subdir3/f3\nMOVED_FILE ${rootDir}/f3" |
| 105 | } |
| 106 | |
| 107 | fossil revert |
| 108 | test mv-hard-relative-2 { |
| 109 | [normalize_result] eq "DELETE subdir3/f3\nREVERT f3${undoMsg}" |
| 110 | } |
| 111 | |
| 112 | cd $rootDir |
| 113 | |
| 114 | ################################### |
| @@ -123,11 +123,11 @@ | |
| 123 | [normalize_result] eq "RENAME f4 subdir4/f4\nMOVED_FILE ${rootDir}/f4" |
| 124 | } |
| 125 | |
| 126 | fossil revert |
| 127 | test mv-hard-relative-4 { |
| 128 | [normalize_result] eq "DELETE subdir4/f4\nREVERT f4${undoMsg}" |
| 129 | } |
| 130 | |
| 131 | cd $rootDir |
| 132 | |
| 133 | ######################################## |
| @@ -140,11 +140,11 @@ | |
| 140 | fossil mv [file join $rootDir f5] [file join $rootDir subdir5] |
| 141 | test mv-soft-absolute-1 {$RESULT eq "RENAME f5 subdir5/f5"} |
| 142 | |
| 143 | fossil revert |
| 144 | test mv-soft-absolute-2 { |
| 145 | [normalize_result] eq "DELETE subdir5/f5\nREVERT f5${undoMsg}" |
| 146 | } |
| 147 | |
| 148 | cd $rootDir |
| 149 | |
| 150 | ################################### |
| @@ -157,11 +157,11 @@ | |
| 157 | fossil mv [file join $rootDir f6] [file join $rootDir subdir6 f6] |
| 158 | test mv-soft-absolute-3 {$RESULT eq "RENAME f6 subdir6/f6"} |
| 159 | |
| 160 | fossil revert |
| 161 | test mv-soft-absolute-4 { |
| 162 | [normalize_result] eq "DELETE subdir6/f6\nREVERT f6${undoMsg}" |
| 163 | } |
| 164 | |
| 165 | cd $rootDir |
| 166 | |
| 167 | ######################################## |
| @@ -176,11 +176,11 @@ | |
| 176 | [normalize_result] eq "RENAME f7 subdir7/f7\nMOVED_FILE ${rootDir}/f7" |
| 177 | } |
| 178 | |
| 179 | fossil revert |
| 180 | test mv-hard-absolute-2 { |
| 181 | [normalize_result] eq "DELETE subdir7/f7\nREVERT f7${undoMsg}" |
| 182 | } |
| 183 | |
| 184 | cd $rootDir |
| 185 | |
| 186 | ################################### |
| @@ -195,11 +195,11 @@ | |
| 195 | [normalize_result] eq "RENAME f8 subdir8/f8\nMOVED_FILE ${rootDir}/f8" |
| 196 | } |
| 197 | |
| 198 | fossil revert |
| 199 | test mv-hard-absolute-4 { |
| 200 | [normalize_result] eq "DELETE subdir8/f8\nREVERT f8${undoMsg}" |
| 201 | } |
| 202 | |
| 203 | cd $rootDir |
| 204 | |
| 205 | ########################################## |
| @@ -221,11 +221,11 @@ | |
| 221 | } |
| 222 | |
| 223 | fossil revert |
| 224 | test rm-soft-relative-4 { |
| 225 | [normalize_result] eq \ |
| 226 | "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" |
| 227 | } |
| 228 | |
| 229 | cd $rootDir |
| 230 | |
| 231 | ###################################### |
| @@ -238,11 +238,11 @@ | |
| 238 | fossil rm ../f2 |
| 239 | test rm-soft-relative-5 {$RESULT eq "DELETED f2"} |
| 240 | |
| 241 | fossil revert |
| 242 | test rm-soft-relative-6 { |
| 243 | [normalize_result] eq "REVERT f2${undoMsg}" |
| 244 | } |
| 245 | |
| 246 | cd $rootDir |
| 247 | |
| 248 | ########################################### |
| @@ -271,11 +271,11 @@ | |
| 271 | } |
| 272 | |
| 273 | fossil revert |
| 274 | test rm-hard-relative-4 { |
| 275 | [normalize_result] eq \ |
| 276 | "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" |
| 277 | } |
| 278 | |
| 279 | cd $rootDir |
| 280 | |
| 281 | ###################################### |
| @@ -290,11 +290,11 @@ | |
| 290 | [normalize_result] eq "DELETED f4\nDELETED_FILE ${rootDir}/f4" |
| 291 | } |
| 292 | |
| 293 | fossil revert |
| 294 | test rm-hard-relative-6 { |
| 295 | [normalize_result] eq "REVERT f4${undoMsg}" |
| 296 | } |
| 297 | |
| 298 | cd $rootDir |
| 299 | |
| 300 | ########################################### |
| @@ -316,11 +316,11 @@ | |
| 316 | } |
| 317 | |
| 318 | fossil revert |
| 319 | test rm-soft-absolute-4 { |
| 320 | [normalize_result] eq \ |
| 321 | "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" |
| 322 | } |
| 323 | |
| 324 | cd $rootDir |
| 325 | |
| 326 | ###################################### |
| @@ -333,11 +333,11 @@ | |
| 333 | fossil rm [file join $rootDir f6] |
| 334 | test rm-soft-absolute-5 {$RESULT eq "DELETED f6"} |
| 335 | |
| 336 | fossil revert |
| 337 | test rm-soft-absolute-6 { |
| 338 | [normalize_result] eq "REVERT f6${undoMsg}" |
| 339 | } |
| 340 | |
| 341 | cd $rootDir |
| 342 | |
| 343 | ########################################### |
| @@ -364,11 +364,11 @@ | |
| 364 | } |
| 365 | |
| 366 | fossil revert |
| 367 | test rm-hard-absolute-4 { |
| 368 | [normalize_result] eq \ |
| 369 | "REVERT subdirB/f9\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" |
| 370 | } |
| 371 | |
| 372 | cd $rootDir |
| 373 | |
| 374 | ###################################### |
| @@ -383,9 +383,9 @@ | |
| 383 | [normalize_result] eq "DELETED f8\nDELETED_FILE ${rootDir}/f8" |
| 384 | } |
| 385 | |
| 386 | fossil revert |
| 387 | test rm-hard-absolute-6 { |
| 388 | [normalize_result] eq "REVERT f8${undoMsg}" |
| 389 | } |
| 390 | |
| 391 | cd $rootDir |
| 392 |