Commits

Yujie Wu committed e8dc783

Fixed minor bug for `hg flow init` command.

  • Participants
  • Parent commits c32422c
  • Branches hotfix/0.9.2

Comments (0)

Files changed (1)

File src/hgflow.py

 
         workspace = self.curr_workspace
         branches  = self._branches()
-        if (len( branches )) :
+        if (len( branches ) > 1) :
             self._warn( "You have the following open branches. Will initialize flow for all of them." )
             for branch in branches :
                 if (branch == workspace) :