https://bugzilla.novell.com/show_bug.cgi?id=379519 User poeml@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=379519#c7 Peter Poeml <poeml@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #7 from Peter Poeml <poeml@novell.com> 2008-04-28 03:40:57 MST --- This command does the diff in the correct direction: % osc rdiff --oldprj openSUSE:Factory --oldpkg fetchmail home:rbos:branches:openSUSE:Factory fetchmail The actual request with that is: POST https://api.opensuse.org/source/home:rbos:branches:openSUSE:Factory/fetchmail?opackage=fetchmail&oproject=openSUSE%3AFactory&cmd=diff But the request which is issued by 'submitreq show -d' POST https://api.opensuse.org/source/openSUSE:Factory/fetchmail?opackage=fetchmail&oproject=home%3Arbos%3Abranches%3AopenSUSE%3AFactory&cmd=diff&orev=ac5ce1f77b611cdeb91e03484d684cca I mixed up the arguments (regarding "old" vs. "new" ) in osc. It is fixed in svn with this commit: Index: osc/commandline.py =================================================================== --- osc/commandline.py (revision 3844) +++ osc/commandline.py (working copy) @@ -456,8 +456,8 @@ if opts.diff: try: print pretty_diff(conf.config['apiurl'], - r.src_project, r.src_package, r.src_md5, - r.dst_project, r.dst_package, None) + r.dst_project, r.dst_package, None, + r.src_project, r.src_package, r.src_md5) except urllib2.HTTPError, e: print >>sys.stderr, 'Diff not possible:', e With the fix, the URL becomes POST https://api.opensuse.org/source/home:rbos:branches:openSUSE:Factory/fetchmail?opackage=fetchmail&oproject=openSUSE%3AFactory&cmd=diff&rev=ac5ce1f77b611cdeb91e03484d684cca which is the same as for rdiff now, just with the additional rev parameter appended. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.