equal
deleted
inserted
replaced
378 % serve errors |
378 % serve errors |
379 |
379 |
380 #endif |
380 #endif |
381 |
381 |
382 $ cd .. |
382 $ cd .. |
|
383 |
|
384 Pushing via hgwebdir works |
|
385 |
|
386 $ hg init hgwebdir |
|
387 $ cd hgwebdir |
|
388 $ echo 0 > a |
|
389 $ hg -q commit -A -m initial |
|
390 $ cd .. |
|
391 |
|
392 $ cat > web.conf << EOF |
|
393 > [paths] |
|
394 > / = * |
|
395 > [web] |
|
396 > push_ssl = false |
|
397 > allow_push = * |
|
398 > EOF |
|
399 |
|
400 $ hg serve --web-conf web.conf -p $HGPORT -d --pid-file hg.pid |
|
401 $ cat hg.pid > $DAEMON_PIDS |
|
402 |
|
403 $ hg clone http://localhost:$HGPORT/hgwebdir hgwebdir-local |
|
404 requesting all changes |
|
405 adding changesets |
|
406 adding manifests |
|
407 adding file changes |
|
408 added 1 changesets with 1 changes to 1 files |
|
409 new changesets 98a3f8f02ba7 |
|
410 updating to branch default |
|
411 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
412 $ cd hgwebdir-local |
|
413 $ echo commit > a |
|
414 $ hg commit -m 'local commit' |
|
415 |
|
416 $ hg push |
|
417 pushing to http://localhost:$HGPORT/hgwebdir |
|
418 searching for changes |
|
419 remote: adding changesets |
|
420 remote: adding manifests |
|
421 remote: adding file changes |
|
422 remote: added 1 changesets with 1 changes to 1 files |
|
423 |
|
424 $ killdaemons.py |
|
425 |
|
426 $ cd .. |