tests/test-bookmarks-pushpull.t
changeset 17043 6f89c3f0192d
parent 17021 955662c1d0e9
child 17075 28ed1c4511ce
equal deleted inserted replaced
17042:cd7db8e05c65 17043:6f89c3f0192d
   175   $ echo c4 > f2
   175   $ echo c4 > f2
   176   $ hg ci -Am4
   176   $ hg ci -Am4
   177   adding f2
   177   adding f2
   178   created new head
   178   created new head
   179   $ hg book -f Y
   179   $ hg book -f Y
   180   $ hg push ../a
   180 
   181   pushing to ../a
   181   $ cat <<EOF > ../a/.hg/hgrc
       
   182   > [web]
       
   183   > push_ssl = false
       
   184   > allow_push = *
       
   185   > EOF
       
   186 
       
   187   $ hg -R ../a serve -p $HGPORT2 -d --pid-file=../hg2.pid
       
   188   $ cat ../hg2.pid >> $DAEMON_PIDS
       
   189 
       
   190   $ hg push http://localhost:$HGPORT2/
       
   191   pushing to http://localhost:$HGPORT2/
   182   searching for changes
   192   searching for changes
   183   abort: push creates new remote head 4efff6d98829!
   193   abort: push creates new remote head 4efff6d98829!
   184   (did you forget to merge? use push -f to force)
   194   (did you forget to merge? use push -f to force)
   185   [255]
   195   [255]
   186   $ hg -R ../a book
   196   $ hg -R ../a book