tests/test-default-push.t
changeset 20558 c4f45ce85351
parent 15447 9910f60a37ee
child 22837 2be7d5ebd4d0
equal deleted inserted replaced
20557:514d32de6646 20558:c4f45ce85351
    12   updating to branch default
    12   updating to branch default
    13   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
    13   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
    14 
    14 
    15   $ echo b >> b/a
    15   $ echo b >> b/a
    16   $ hg --cwd b ci -mb
    16   $ hg --cwd b ci -mb
       
    17 
       
    18 Push should provide a hint when both 'default' and 'default-push' not set:
       
    19   $ cd c
       
    20   $ hg push --config paths.default=
       
    21   pushing to default-push
       
    22   abort: default repository not configured!
       
    23   (see the "path" section in "hg help config")
       
    24   [255]
       
    25 
       
    26   $ cd ..
    17 
    27 
    18 Push should push to 'default' when 'default-push' not set:
    28 Push should push to 'default' when 'default-push' not set:
    19 
    29 
    20   $ hg --cwd b push
    30   $ hg --cwd b push
    21   pushing to $TESTTMP/a (glob)
    31   pushing to $TESTTMP/a (glob)