@click.command('switch-to-develop')
@click.option('--upgrade', is_flag=True)
def switch_to_develop(upgrade=False):
 from bench.app import switch_to_develop
 switch_to_develop(upgrade=upgrade, apps=['frappe', 'erpnext'])
 print
 print 'Switched to develop'
 print 'Please run `bench update --patch` to be safe from any differences in database schema'

@ click . command ( 'switch-to-develop' ) @ click . option ( '--upgrade' , is_flag = True ) def switch_to_develop ( upgrade = False ) : from bench . app import switch_to_develop switch_to_develop ( upgrade = upgrade , apps = [ 'frappe' , 'erpnext' ] ) print print 'Switched to develop' print 'Please run `bench update --patch` to be safe from any differences in database schema'
switch frappe and erpnext to develop branch .