Mercurial > hg-stable
diff tests/test-newbranch.t @ 25295:701df761aa94
branch: don't warn about branches if repository has multiple branches already
This warning exists to prevent git users from prematurely polluting
their namespace when trying out Mercurial. But for repos that already
have multiple branches, understanding what branches are is not
optional so we should just shut up.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 22 May 2015 17:08:59 -0500 |
parents | 9510b0e9480b |
children | e1dd0de26557 |
line wrap: on
line diff
--- a/tests/test-newbranch.t Tue May 19 13:08:21 2015 -0700 +++ b/tests/test-newbranch.t Fri May 22 17:08:59 2015 -0500 @@ -25,7 +25,6 @@ $ hg ci -m "add branch name" $ hg branch bar marked working directory as branch bar - (branches are permanent and global, did you want a bookmark?) $ hg ci -m "change branch name" Branch shadowing: @@ -37,7 +36,6 @@ $ hg branch -f default marked working directory as branch default - (branches are permanent and global, did you want a bookmark?) $ hg ci -m "clear branch name" created new head @@ -67,11 +65,9 @@ $ hg branch -f bar marked working directory as branch bar - (branches are permanent and global, did you want a bookmark?) $ hg branch foo marked working directory as branch foo - (branches are permanent and global, did you want a bookmark?) $ echo bleah > a $ hg ci -m "modify a branch" @@ -94,13 +90,11 @@ $ hg branch default marked working directory as branch default - (branches are permanent and global, did you want a bookmark?) set (first) parent branch as branch name $ hg branch foo marked working directory as branch foo - (branches are permanent and global, did you want a bookmark?) $ hg ci -m "merge" @@ -215,7 +209,6 @@ $ hg branch foobar marked working directory as branch foobar - (branches are permanent and global, did you want a bookmark?) $ hg up abort: branch foobar not found @@ -225,7 +218,6 @@ $ hg branch ff marked working directory as branch ff - (branches are permanent and global, did you want a bookmark?) $ echo ff > ff $ hg ci -Am'fast forward'