def local_diff_branch():
 remote = os.getenv(LOCAL_REMOTE_ENV)
 branch = os.getenv(LOCAL_BRANCH_ENV)
 if ((remote is not None) and (branch is not None)):
  return ('%s/%s' % (remote, branch))

def local_diff_branch ( ) : remote = os . getenv ( LOCAL_REMOTE_ENV ) branch = os . getenv ( LOCAL_BRANCH_ENV ) if ( ( remote is not None ) and ( branch is not None ) ) : return ( '%s/%s' % ( remote , branch ) )
get a remote branch to diff against in a local checkout .