hgext/bookflow.py
changeset 43506 9f70512ae2cf
parent 43077 687b865b95ad
child 48875 6000f5b25c9b
equal deleted inserted replaced
43505:47fac1692ede 43506:9f70512ae2cf
    99         )
    99         )
   100     return rc
   100     return rc
   101 
   101 
   102 
   102 
   103 def commands_branch(orig, ui, repo, label=None, **opts):
   103 def commands_branch(orig, ui, repo, label=None, **opts):
   104     if label and not opts.get(r'clean') and not opts.get(r'rev'):
   104     if label and not opts.get('clean') and not opts.get('rev'):
   105         raise error.Abort(
   105         raise error.Abort(
   106             _(
   106             _(
   107                 b"creating named branches is disabled and you should use bookmarks"
   107                 b"creating named branches is disabled and you should use bookmarks"
   108             ),
   108             ),
   109             hint=b"see 'hg help bookflow'",
   109             hint=b"see 'hg help bookflow'",