tests: do not glob out fixed dates
Perhaps these dates historically have not been fixed, but they seem to
be now. I got tired of not being able to use "run-tests.py -i".
$.$TESTDIR/testlib/common.shsetup$cat>>$HGRCPATH<<EOF>[extensions]>share=>blackbox=>[web]>allow_push=*>push_ssl=no>[phases]>publish=False>[paths]>enabled=http://localhost:$HGPORT/>disabled=http://localhost:$HGPORT2/>EOF$hginit./server-enabled$cat>>server-enabled/.hg/hgrc<<EOF>[extensions]>serverminitopic=>[experimental]>server-mini-topic=yes>EOF$hgshare./server-enabled./server-disabledupdatingworkingdirectory0filesupdated,0filesmerged,0filesremoved,0filesunresolved$cat>>server-disabled/.hg/hgrc<<EOF>[extensions]>serverminitopic=>[experimental]>server-mini-topic=no>EOF$hginitclient-disabled$hginitclient-enabled$cat>>client-enabled/.hg/hgrc<<EOF>[extensions]>topic=>EOF$hgserve-Rserver-enabled-p$HGPORT-d--pid-filehg1.pid--errorloghg1.error$cathg1.pid>$DAEMON_PIDS$hgserve-Rserver-disabled-p$HGPORT2-d--pid-filehg2.pid--errorloghg2.error$cathg2.pid>>$DAEMON_PIDS$curl--silenthttp://localhost:$HGPORT/?cmd=capabilities | grep -o topicstopics$curl--silenthttp://localhost:$HGPORT2/?cmd=capabilities | grep -o topics[1]Pushingfirstchangesetstotheservers--------------------------------------$cdclient-enabled$mkcommitc_A0$hgpushenabledpushingtohttp://localhost:$HGPORT/searchingforchangesremote:addingchangesetsremote:addingmanifestsremote:addingfilechangesremote:added1changesetswith1changesto1files$mkcommitc_B0$hgpushdisabledpushingtohttp://localhost:$HGPORT2/searchingforchangesremote:addingchangesetsremote:addingmanifestsremote:addingfilechangesremote:added1changesetswith1changesto1files$cat$TESTTMP/hg1.error$cat$TESTTMP/hg2.errorPushingnewhead----------------$hgup'desc("c_A0")'0filesupdated,0filesmerged,1filesremoved,0filesunresolved$mkcommitc_C0creatednewhead(considerusingtopicforlightweightbranches.See'hg help topic')$hgpushenabledpushingtohttp://localhost:$HGPORT/searchingforchangesabort:pushcreatesnewremotehead22c9514ed811!(mergeorsee'hg help push'fordetailsaboutpushingnewheads)[255]$hgpushdisabledpushingtohttp://localhost:$HGPORT2/searchingforchangesabort:pushcreatesnewremotehead22c9514ed811!(mergeorsee'hg help push'fordetailsaboutpushingnewheads)[255]$curl--silenthttp://localhost:$HGPORT/?cmd=branchmap | sortdefault0ab6d544d0efd629fda056601cfe95e73d1af210$curl--silenthttp://localhost:$HGPORT2/?cmd=branchmap | sortdefault0ab6d544d0efd629fda056601cfe95e73d1af210$cat$TESTTMP/hg1.error$cat$TESTTMP/hg2.errorPushingnewtopic-----------------$hgmerge1filesupdated,0filesmerged,0filesremoved,0filesunresolved(branchmerge,don't forget to commit) $ mkcommit c_D0 $ hg log -G @ changeset: 3:9c660cf97499 |\ tag: tip | | parent: 2:22c9514ed811 | | parent: 1:0ab6d544d0ef | | user: test | | date: Thu Jan 01 00:00:00 1970 +0000 | | summary: c_D0 | | | o changeset: 2:22c9514ed811 | | parent: 0:14faebcf9752 | | user: test | | date: Thu Jan 01 00:00:00 1970 +0000 | | summary: c_C0 | | o | changeset: 1:0ab6d544d0ef |/ user: test | date: Thu Jan 01 00:00:00 1970 +0000 | summary: c_B0 | o changeset: 0:14faebcf9752 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: c_A0 $ hg push enabled pushing to http://localhost:$HGPORT/ searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 2 changesets with 2 changes to 2 files $ hg up 'desc("c_C0")' 0 files updated, 0 files merged, 2 files removed, 0 files unresolved $ hg topic topic_A marked working directory as topic: topic_A $ mkcommit c_E0 active topic 'topic_A' grew its first changeset $ hg push disabled pushing to http://localhost:$HGPORT2/ searching for changes abort: push creates new remote head f31af349535e! (merge or see 'hghelppush' for details about pushing new heads) [255] $ hg push enabled pushing to http://localhost:$HGPORT/ searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 1 changes to 1 files (+1 heads) $ curl --silent http://localhost:$HGPORT/?cmd=branchmap | sort default 9c660cf97499ae01ccb6894880455c6ffa4b19cf default%3Atopic_A f31af349535e413b6023f11b51a6afccf4139180 $ curl --silent http://localhost:$HGPORT2/?cmd=branchmap | sort default 9c660cf97499ae01ccb6894880455c6ffa4b19cf f31af349535e413b6023f11b51a6afccf4139180 $ cat $TESTTMP/hg1.error $ cat $TESTTMP/hg2.errorPushing new head to a topic--------------------------- $ hg up 'desc("c_D0")' 2 files updated, 0 files merged, 1 files removed, 0 files unresolved $ hg topic topic_A marked working directory as topic: topic_A $ mkcommit c_F0 $ hg log -G @ changeset: 5:82c5842e0472 | tag: tip | topic: topic_A | parent: 3:9c660cf97499 | user: test | date: Thu Jan 01 00:00:00 1970 +0000 | summary: c_F0 | | o changeset: 4:f31af349535e | | topic: topic_A | | parent: 2:22c9514ed811 | | user: test | | date: Thu Jan 01 00:00:00 1970 +0000 | | summary: c_E0 | | o | changeset: 3:9c660cf97499 |\| parent: 2:22c9514ed811 | | parent: 1:0ab6d544d0ef | | user: test | | date: Thu Jan 01 00:00:00 1970 +0000 | | summary: c_D0 | | | o changeset: 2:22c9514ed811 | | parent: 0:14faebcf9752 | | user: test | | date: Thu Jan 01 00:00:00 1970 +0000 | | summary: c_C0 | | o | changeset: 1:0ab6d544d0ef |/ user: test | date: Thu Jan 01 00:00:00 1970 +0000 | summary: c_B0 | o changeset: 0:14faebcf9752 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: c_A0 $ hg push enabled pushing to http://localhost:$HGPORT/ searching for changes abort: push creates new remote head 82c5842e0472 on branch 'default:topic_A'! (merge or see 'hghelppush' for details about pushing new heads) [255] $ hg push disabled pushing to http://localhost:$HGPORT2/ searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 1 changes to 1 files $ curl --silent http://localhost:$HGPORT/?cmd=branchmap | sort default 9c660cf97499ae01ccb6894880455c6ffa4b19cf default%3Atopic_A f31af349535e413b6023f11b51a6afccf4139180 82c5842e047215160763f81ae93ae42c65b20a63 $ curl --silent http://localhost:$HGPORT2/?cmd=branchmap | sort default f31af349535e413b6023f11b51a6afccf4139180 82c5842e047215160763f81ae93ae42c65b20a63 $ cat $TESTTMP/hg1.error $ cat $TESTTMP/hg2.error