Merge "Client (old): don't translate null to 0000000"
This commit is contained in:
commit
184f73ae02
@ -562,11 +562,6 @@ class Client(zuul.cmd.ZuulApp):
|
||||
if self.args.oldrev == self.args.newrev:
|
||||
parser.error(
|
||||
"The old and new revisions must not be the same.")
|
||||
# if they're not set, we pad them out to zero
|
||||
if self.args.oldrev is None:
|
||||
self.args.oldrev = '0000000000000000000000000000000000000000'
|
||||
if self.args.newrev is None:
|
||||
self.args.newrev = '0000000000000000000000000000000000000000'
|
||||
if self.args.func == self.dequeue:
|
||||
if self.args.change is None and self.args.ref is None:
|
||||
parser.error("Change or ref needed.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user