tests/test-pull-http.t
changeset 25391 c66d95aa1270
parent 25372 df723a2655e9
child 25405 220a220ed088
equal deleted inserted replaced
25390:14c6b4c6e3f9 25391:c66d95aa1270
     1 #require killdaemons
     1 #require killdaemons
       
     2 
       
     3   $ cat << EOF >> $HGRCPATH
       
     4   > [experimental]
       
     5   > # drop me once bundle2 is the default,
       
     6   > # added to get test change early.
       
     7   > bundle2-exp = True
       
     8   > EOF
     2 
     9 
     3   $ hg init test
    10   $ hg init test
     4   $ cd test
    11   $ cd test
     5   $ echo a > a
    12   $ echo a > a
     6   $ hg ci -Ama
    13   $ hg ci -Ama
    71 
    78 
    72 expect error, pulling not allowed
    79 expect error, pulling not allowed
    73 
    80 
    74   $ req
    81   $ req
    75   pulling from http://localhost:$HGPORT/
    82   pulling from http://localhost:$HGPORT/
       
    83   searching for changes
    76   abort: authorization failed
    84   abort: authorization failed
    77   % serve errors
    85   % serve errors
    78 
    86 
    79   $ cd ..
    87   $ cd ..