tests/test-pull-update.t
changeset 31167 696e321b304d
parent 30332 318a24b52eeb
child 32698 1b5c61d38a52
equal deleted inserted replaced
31166:fad5e299cfc7 31167:696e321b304d
    14 
    14 
    15   $ cd ../t
    15   $ cd ../t
    16   $ echo 1.2 > foo
    16   $ echo 1.2 > foo
    17   $ hg ci -Am m
    17   $ hg ci -Am m
    18 
    18 
       
    19 Should respect config to disable dirty update
       
    20   $ hg co -qC 0
       
    21   $ echo 2 > foo
       
    22   $ hg --config experimental.updatecheck=abort pull -u ../tt
       
    23   pulling from ../tt
       
    24   searching for changes
       
    25   adding changesets
       
    26   adding manifests
       
    27   adding file changes
       
    28   added 1 changesets with 1 changes to 1 files (+1 heads)
       
    29   abort: uncommitted changes
       
    30   [255]
       
    31   $ hg --config extensions.strip= strip --no-backup tip
       
    32   $ hg co -qC tip
       
    33 
    19 Should not update to the other topological branch:
    34 Should not update to the other topological branch:
    20 
    35 
    21   $ hg pull -u ../tt
    36   $ hg pull -u ../tt
    22   pulling from ../tt
    37   pulling from ../tt
    23   searching for changes
    38   searching for changes