comparison tests/test-bisect.t @ 16647:14913fcb30c6

bisect: track the current changeset (issue3382) Introduce a new revset feature, bisect(current), that identifies the changeset currently being bisected.
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 08 May 2012 15:29:09 -0700
parents bb9ad375b51c
children 1388cc711ea7
comparison
equal deleted inserted replaced
16646:a1dcd842ce17 16647:14913fcb30c6
222 $ hg bisect -s "13::16" 222 $ hg bisect -s "13::16"
223 $ hg bisect -g "26::tip" 223 $ hg bisect -g "26::tip"
224 Testing changeset 12:1941b52820a5 (23 changesets remaining, ~4 tests) 224 Testing changeset 12:1941b52820a5 (23 changesets remaining, ~4 tests)
225 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 225 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
226 $ cat .hg/bisect.state 226 $ cat .hg/bisect.state
227 current 1941b52820a544549596820a8ae006842b0e2c64
227 skip 9d7d07bc967ca98ad0600c24953fd289ad5fa991 228 skip 9d7d07bc967ca98ad0600c24953fd289ad5fa991
228 skip ce8f0998e922c179e80819d5066fbe46e2998784 229 skip ce8f0998e922c179e80819d5066fbe46e2998784
229 skip e7fa0811edb063f6319531f0d0a865882138e180 230 skip e7fa0811edb063f6319531f0d0a865882138e180
230 skip a2e6ea4973e9196ddd3386493b0c214b41fd97d3 231 skip a2e6ea4973e9196ddd3386493b0c214b41fd97d3
231 bad b99c7b9c8e11558adef3fad9af211c58d46f325b 232 bad b99c7b9c8e11558adef3fad9af211c58d46f325b
394 changeset: 6:a3d5c6fdf0d3 395 changeset: 6:a3d5c6fdf0d3
395 user: test 396 user: test
396 date: Thu Jan 01 00:00:06 1970 +0000 397 date: Thu Jan 01 00:00:06 1970 +0000
397 summary: msg 6 398 summary: msg 6
398 399
400 $ hg log -r "bisect(current)"
401 changeset: 5:7874a09ea728
402 user: test
403 date: Thu Jan 01 00:00:05 1970 +0000
404 summary: msg 5
405
399 $ hg log -r "bisect(skip)" 406 $ hg log -r "bisect(skip)"
400 changeset: 1:5cd978ea5149 407 changeset: 1:5cd978ea5149
401 user: test 408 user: test
402 date: Thu Jan 01 00:00:01 1970 +0000 409 date: Thu Jan 01 00:00:01 1970 +0000
403 summary: msg 1 410 summary: msg 1