proxygen
upload.py File Reference

Go to the source code of this file.

Classes

class  upload.ClientLoginError
 
class  upload.AbstractRpcServer
 
class  upload.HttpRpcServer
 elif e.code >= 500 and e.code < 600:

Server Error - try again.

More...
 
class  upload.VersionControlSystem
 
class  upload.SubversionVCS
 
class  upload.GitVCS
 
class  upload.MercurialVCS
 

Namespaces

 upload
 

Functions

def upload.GetEmail (prompt)
 
def upload.StatusUpdate (msg)
 
def upload.ErrorExit (msg)
 
def upload.GetRpcServer (options)
 
def upload.EncodeMultipartFormData (fields, files)
 
def upload.GetContentType (filename)
 
def upload.RunShellWithReturnCode (command, print_output=False, universal_newlines=True)
 
def upload.RunShell (command, silent_ok=False, universal_newlines=True, print_output=False)
 
def upload.SplitPatch (data)
 
def upload.UploadSeparatePatches (issue, rpc_server, patchset, data, options)
 
def upload.GuessVCS (options)
 
def upload.RealMain (argv, data=None)
 
def upload.main ()
 

Variables

int upload.verbosity = 1
 
int upload.MAX_UPLOAD_SIZE = 900
 
 upload.parser = optparse.OptionParser(usage="%prog [options] [-- diff_options]")
 
 upload.action
 
 upload.dest
 
 upload.default
 
 upload.help
 
 upload.group = parser.add_option_group("Logging options")
 
 upload.const
 
 upload.metavar
 
 upload.type
 
 upload.use_shell = sys.platform.startswith("win")