Skip to content

Commit

Permalink
- do_branch: do not checkout server service files if "--checkout" is …
Browse files Browse the repository at this point in the history
…specified

Otherwise one has to checkout the expanded sources without the
server service files before doing a commit.
  • Loading branch information
marcus-h committed Oct 3, 2015
1 parent cc3979c commit 400352c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Expand Up @@ -3310,7 +3310,7 @@ def do_branch(self, subcmd, opts, *args):

package = targetpkg or args[1]
if opts.checkout:
checkout_package(apiurl, targetprj, package, server_service_files=True,
checkout_package(apiurl, targetprj, package, server_service_files=False,
expand_link=True, prj_dir=targetprj)
if conf.config['verbose']:
print('Note: You can use "osc delete" or "osc submitpac" when done.\n')
Expand Down

0 comments on commit 400352c

Please sign in to comment.