Suppress "branches are permanent and global" warning in extension

v voldermort at hotmail.com
Mon Nov 19 06:58:09 CST 2012


I'm trying to write an extension to suppress the "branches are permanent and
global" scolding when creating a new branch. I'm not quite sure how to do
this, because it's hard-coded into the branch command.

I've been trying to do this by wrapping the branch method and doing
something with the ui object, but I can't find any way to suppress just this
output.

Any ideas?



--
View this message in context: http://mercurial.808500.n3.nabble.com/Suppress-branches-are-permanent-and-global-warning-in-extension-tp3995000.html
Sent from the Development mailing list archive at Nabble.com.


More information about the Mercurial-devel mailing list