http://bugzilla.novell.com/show_bug.cgi?id=615823 http://bugzilla.novell.com/show_bug.cgi?id=615823#c0 Summary: osc rdiff - 3 arguments syntax does not work Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: llipavsky@novell.com QAContact: adrian@novell.com Found By: --- Blocker: --- This works:
iosc rdiff QA:Head:Devel qa_tools QA:Head qa_tools
But this does not:
iosc rdiff QA:Head:Devel qa_tools QA:Head Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 46, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 308, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 331, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 447, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1177, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 1863, in do_rdiff new_project, new_package, rev2, not opts.plain) File "/usr/lib/python2.6/site-packages/osc/core.py", line 2943, in server_diff u = makeurl(apiurl, ['source', new_project, new_package], query=query) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1859, in makeurl return urlunsplit((scheme, netloc, '/'.join(l), query, '')) TypeError: sequence item 2: expected string, NoneType found
According to osc help rdiff, both should work:
iosc help rdiff rdiff: Server-side "pretty" diff of two packages
Compares two packages (three or four arguments) or shows the changes of a specified revision of a package (two arguments) If no revision is specified the latest revision is used. Note that this command doesn't return a normal diff (which could be applied as patch), but a "pretty" diff, which also compares the content of tarballs. usage: osc rdiff OLDPRJ OLDPAC NEWPRJ [NEWPAC] .. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.