# HG changeset patch # User Dirkjan Ochtman # Date 2009-01-26 15:34:38 # Node ID f6cee47c0907cf9fd58648b387e569b594ba7fd9 # Parent b8c4ba0fd7c492da4c29ee9707f0ec60292ad549 graphlog: some testing for incoming and outgoing graphs diff --git a/tests/test-glog b/tests/test-glog --- a/tests/test-glog +++ b/tests/test-glog @@ -166,3 +166,10 @@ echo more >two hg commit -mmore hg glog two +echo % incoming and outgoing +cd .. +hg clone -U -r31 repo repo2 +cd repo2 +hg incoming -q --graph | sed -e 's|$HGTMP|[HGTMP]|' +cd .. +hg -R repo outgoing --graph repo2 diff --git a/tests/test-glog.out b/tests/test-glog.out --- a/tests/test-glog.out +++ b/tests/test-glog.out @@ -381,3 +381,45 @@ o changeset: 1:5ac72c0599bf date: Thu Jan 01 00:00:00 1970 +0000 summary: two +% incoming and outgoing +requesting all changes +adding changesets +adding manifests +adding file changes +added 31 changesets with 31 changes to 31 files +o 34:0eed7cd895e0 +| +| o 33:2e9d1b521374 +| +o 32:77f7d8438a3c +| +o 27:e9e08174cd30 + +comparing with repo2 +searching for changes +@ changeset: 34:0eed7cd895e0 +| tag: tip +| parent: 32:77f7d8438a3c +| user: test +| date: Thu Jan 01 00:00:34 1970 +0000 +| summary: (34) head +| +| o changeset: 33:2e9d1b521374 +| parent: 18:5a8c9a29ef81 +| user: test +| date: Thu Jan 01 00:00:33 1970 +0000 +| summary: (33) head +| +o changeset: 32:77f7d8438a3c +| parent: 27:e9e08174cd30 +| parent: 31:82ee55204a79 +| user: test +| date: Thu Jan 01 00:00:32 1970 +0000 +| summary: (32) expand +| +o changeset: 27:e9e08174cd30 + parent: 21:e758e8f4ace9 + user: test + date: Thu Jan 01 00:00:27 1970 +0000 + summary: (27) collapse +