tests/test-server-view.t
changeset 41840 d6569f1e9b37
child 42106 bcf59ddc6173
equal deleted inserted replaced
41839:38de3300414f 41840:d6569f1e9b37
       
     1   $ hg init test
       
     2   $ cd test
       
     3   $ hg debugbuilddag '+2'
       
     4   $ hg phase --public 0
       
     5 
       
     6   $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
       
     7   $ cat hg.pid >> $DAEMON_PIDS
       
     8   $ cd ..
       
     9   $ hg init test2
       
    10   $ cd test2
       
    11   $ hg incoming http://foo:xyzzy@localhost:$HGPORT/
       
    12   comparing with http://foo:***@localhost:$HGPORT/
       
    13   changeset:   0:1ea73414a91b
       
    14   user:        debugbuilddag
       
    15   date:        Thu Jan 01 00:00:00 1970 +0000
       
    16   summary:     r0
       
    17   
       
    18   changeset:   1:66f7d451a68b
       
    19   tag:         tip
       
    20   user:        debugbuilddag
       
    21   date:        Thu Jan 01 00:00:01 1970 +0000
       
    22   summary:     r1
       
    23   
       
    24   $ killdaemons.py
       
    25 
       
    26   $ cd ../test
       
    27   $ hg --config server.view=immutable serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
       
    28   $ cat hg.pid >> $DAEMON_PIDS
       
    29   $ cd ../test2
       
    30   $ hg incoming http://foo:xyzzy@localhost:$HGPORT/
       
    31   comparing with http://foo:***@localhost:$HGPORT/
       
    32   changeset:   0:1ea73414a91b
       
    33   tag:         tip
       
    34   user:        debugbuilddag
       
    35   date:        Thu Jan 01 00:00:00 1970 +0000
       
    36   summary:     r0
       
    37   
       
    38   $ killdaemons.py