comparison tests/test-minitopic.t @ 3397:f7129e3d5a38

topic: suggest using topic when user creates a new head on branch This patch adds a message to use topics when user creates a new head on a branch.
author Pulkit Goyal <7895pulkit@gmail.com>
date Wed, 27 Dec 2017 04:09:50 +0530
parents 3ccde4699cf0
children 1bc4b0807c37
comparison
equal deleted inserted replaced
3396:2f1520ef1c5b 3397:f7129e3d5a38
79 79
80 $ hg up 'desc("c_A0")' 80 $ hg up 'desc("c_A0")'
81 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 81 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
82 $ mkcommit c_C0 82 $ mkcommit c_C0
83 created new head 83 created new head
84 (consider using topic for lightweight branches. See 'hg help topic')
84 $ hg push enabled 85 $ hg push enabled
85 pushing to http://localhost:$HGPORT/ 86 pushing to http://localhost:$HGPORT/
86 searching for changes 87 searching for changes
87 abort: push creates new remote head 22c9514ed811! 88 abort: push creates new remote head 22c9514ed811!
88 (merge or see 'hg help push' for details about pushing new heads) 89 (merge or see 'hg help push' for details about pushing new heads)