| Index: static/upload.py |
| =================================================================== |
| --- static/upload.py (revision 103) |
| +++ static/upload.py (working copy) |
| @@ -361,6 +361,9 @@ |
| parser.add_option("-i", "--issue", type="int", action="store", |
| metavar="ISSUE", default=None, |
| help="Issue number to which to add. Defaults to new issue.") |
| +parser.add_option("--lb", action="store_true", |
|
GvR
2008/05/17 03:29:02
I recommend "-l", "--local_base"
|
| + dest="local_base", default=False, |
| + help="base file will be uploaded") |
| def GetRpcServer(options): |
| @@ -495,7 +498,10 @@ |
| logging.getLogger().setLevel(logging.DEBUG) |
| elif verbosity >= 2: |
| logging.getLogger().setLevel(logging.INFO) |
| - base = GuessBase() |
| + if options.local_base: |
| + base = "None" |
|
GvR
2008/05/17 03:29:02
I'd set it to the empty string. That should be tur
|
| + else: |
| + base = GuessBase() |
| CheckForUnknownFiles() |
| data = RunShell("svn diff", args) |
| count = 0 |