Mercurial > hg
comparison tests/test-log.out @ 10957:0d5f139b23c1
commands: Add 'hg log --branch' and deprecate 'hg log --only-branch'
Switching to --branch makes log consistent with push/pull and make more sense
given the actual behavior of the option (you can specify -b multiple times to
include multiple branches).
This change also adds some tests for 'hg log -b'.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Sun, 18 Apr 2010 18:18:19 -0400 |
parents | 717c35d55fb3 |
children | ca739acf1a98 |
comparison
equal
deleted
inserted
replaced
10956:a156ce543a5b | 10957:0d5f139b23c1 |
---|---|
322 changeset: 0:29a4c94f1924 | 322 changeset: 0:29a4c94f1924 |
323 user: User One <user1@example.org> | 323 user: User One <user1@example.org> |
324 date: Thu Jan 01 00:00:00 1970 +0000 | 324 date: Thu Jan 01 00:00:00 1970 +0000 |
325 summary: a | 325 summary: a |
326 | 326 |
327 adding a | |
328 marked working directory as branch test | |
329 adding b | |
330 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
331 adding c | |
332 created new head | |
333 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
334 adding c | |
335 % log -b default | |
336 changeset: 2:c3a4f03cc9a7 | |
337 parent: 0:24427303d56f | |
338 user: test | |
339 date: Thu Jan 01 00:00:00 1970 +0000 | |
340 summary: commit on default | |
341 | |
342 changeset: 0:24427303d56f | |
343 user: test | |
344 date: Thu Jan 01 00:00:00 1970 +0000 | |
345 summary: commit on default | |
346 | |
347 % log -b test | |
348 changeset: 3:f5d8de11c2e2 | |
349 branch: test | |
350 tag: tip | |
351 parent: 1:d32277701ccb | |
352 user: test | |
353 date: Thu Jan 01 00:00:00 1970 +0000 | |
354 summary: commit on test | |
355 | |
356 changeset: 1:d32277701ccb | |
357 branch: test | |
358 user: test | |
359 date: Thu Jan 01 00:00:00 1970 +0000 | |
360 summary: commit on test | |
361 | |
362 % log -b dummy | |
363 % log -b default -b test | |
364 changeset: 3:f5d8de11c2e2 | |
365 branch: test | |
366 tag: tip | |
367 parent: 1:d32277701ccb | |
368 user: test | |
369 date: Thu Jan 01 00:00:00 1970 +0000 | |
370 summary: commit on test | |
371 | |
372 changeset: 2:c3a4f03cc9a7 | |
373 parent: 0:24427303d56f | |
374 user: test | |
375 date: Thu Jan 01 00:00:00 1970 +0000 | |
376 summary: commit on default | |
377 | |
378 changeset: 1:d32277701ccb | |
379 branch: test | |
380 user: test | |
381 date: Thu Jan 01 00:00:00 1970 +0000 | |
382 summary: commit on test | |
383 | |
384 changeset: 0:24427303d56f | |
385 user: test | |
386 date: Thu Jan 01 00:00:00 1970 +0000 | |
387 summary: commit on default | |
388 |