tests/test-push-warn.t
changeset 20501 8a9e0b523d2d
parent 20117 aa9385f983fa
child 21024 7731a2281cf0
equal deleted inserted replaced
20500:ce3f3082ec45 20501:8a9e0b523d2d
    20   $ hg commit -m "3"
    20   $ hg commit -m "3"
    21 
    21 
    22   $ hg push ../a
    22   $ hg push ../a
    23   pushing to ../a
    23   pushing to ../a
    24   searching for changes
    24   searching for changes
       
    25   remote has heads on branch 'default' that are not known locally: 1c9246a22a0a
    25   abort: push creates new remote head 1e108cc5548c!
    26   abort: push creates new remote head 1e108cc5548c!
    26   (pull and merge or see "hg help push" for details about pushing new heads)
    27   (pull and merge or see "hg help push" for details about pushing new heads)
    27   [255]
    28   [255]
    28 
    29 
    29   $ hg push --debug ../a
    30   $ hg push --debug ../a
    33   taking quick initial sample
    34   taking quick initial sample
    34   searching: 2 queries
    35   searching: 2 queries
    35   query 2; still undecided: 1, sample size is: 1
    36   query 2; still undecided: 1, sample size is: 1
    36   2 total queries
    37   2 total queries
    37   listing keys for "bookmarks"
    38   listing keys for "bookmarks"
       
    39   remote has heads on branch 'default' that are not known locally: 1c9246a22a0a
    38   new remote heads on branch 'default':
    40   new remote heads on branch 'default':
    39    1e108cc5548c
    41    1e108cc5548c
    40   abort: push creates new remote head 1e108cc5548c!
    42   abort: push creates new remote head 1e108cc5548c!
    41   (pull and merge or see "hg help push" for details about pushing new heads)
    43   (pull and merge or see "hg help push" for details about pushing new heads)
    42   [255]
    44   [255]
   403   created new head
   405   created new head
   404 
   406 
   405   $ hg -R i push h
   407   $ hg -R i push h
   406   pushing to h
   408   pushing to h
   407   searching for changes
   409   searching for changes
       
   410   remote has heads on branch 'default' that are not known locally: ce4212fc8847
   408   abort: push creates new remote head 97bd0c84d346!
   411   abort: push creates new remote head 97bd0c84d346!
   409   (pull and merge or see "hg help push" for details about pushing new heads)
   412   (pull and merge or see "hg help push" for details about pushing new heads)
   410   [255]
   413   [255]
   411 
   414 
   412 
   415