jmollan / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

`repo start` should not need a project name if the branch is unique #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by Cedric Beust <cbeust@google.com> on Mon Jun 22 09:41:59 PDT 2009
Source: JIRA REPO-40

When I try to start a branch that already exists, repo still asks me to supply
the project name, which seems unnecessary if that branch name is unique:

$ repo branches
   CommentReplies            | in gerrit
*  Debug                     | in gwtexpui
   InlineImages              | in gerrit
*P InlineImagesCherryPick    | in gerrit
 P SearchByUser              | in gerrit
   master                    | in gerrit
   save                      | in gerrit

$ repo start SearchByUser
error: at least one project must be specified

Couldn't repo determine that the project is `gerrit` since it's the only one
that contains a branch called SearchByUser?

Original issue reported on code.google.com by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:10

GoogleCodeExporter commented 9 years ago

Original comment by sop+code@google.com on 24 Sep 2009 at 11:07