Commits

Yujie Wu  committed 821f81a

Deleted `flow-init` command, which has been deprectated for a while.

  • Participants
  • Parent commits 905a539
  • Branches hotfix/0.9.5

Comments (0)

Files changed (1)

File src/hgflow.py

             self._rename( old_config_fname, config_fname, force = True )
             self._commit( message = "flow upgrade: Renamed flow's configuration file from '.hgflow' to '.flow'." )
         self._update( workspace )
-
-        
-
-def flow_init_cmd( ui, repo, *args, **kwarg ) :
-    """
-    Initialize flow.
-    This command has been deprecated.
-    """
-    _warn( ui, "`hg flow-init` has been deprecated. In the future use `hg flow init` instead." )
-    Flow( ui, repo, init = True ).init( *args, **kwarg )
    
     
 
      ],
      "hg flow {<stream> [<action> [<arg>]] | <command>} [<option>...]",
      ),
-
-"flow-init" :
-    (flow_init_cmd,
-     [("f", "force",   False, _("Force reinitializing flow."),),
-      ("",  "history", False, _("Print history of hg commands used by this flow command."),),
-      ],
-     ("hg flow-init"),
-     ),
 }