Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcm branch create: alternate interfaces #36

Closed
matthewrmshin opened this issue Aug 19, 2013 · 1 comment
Closed

fcm branch create: alternate interfaces #36

matthewrmshin opened this issue Aug 19, 2013 · 1 comment
Assignees
Labels

Comments

@matthewrmshin
Copy link
Member

The command line interface of branch create has confused some users as it uses the project URL as an argument - as well as taking many different options. Alternate interfaces are recommended:

# Current interface
fcm branch-create [OPTIONS] NAME [PROJECT-URL]
# New interface 1
fcm branch-create [OPTIONS] BRANCH-URL [...] [PARENT-URL]
# New interface 2
fcm branch-create [OPTIONS] TICKET-NUM [...] [PARENT-URL]

In the 1st new interface, the argument list will be a list of URL of the branches to create. Each of these must conform to the FCM branch naming convention. The final argument will be the parent URL. (This argument is optional if the current working directory is a working copy to the parent URL.)

In the 2nd new interface, the argument list will be a list of ticket numbers. This is similar to the current usage, except that the final argument will be the parent URL, and the options --rev-flag=NONE will be automatic, i.e. the resulting branch path will look like branches/dev/fred/1234.

@ghost ghost assigned matthewrmshin Aug 19, 2013
@matthewrmshin matthewrmshin modified the milestones: some-day, later Apr 7, 2015
@matthewrmshin matthewrmshin removed this from the some-day milestone Nov 30, 2016
@matthewrmshin
Copy link
Member Author

No demand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant