[Bug 429650] New: "osc up -r" doesn't actually do anything
https://bugzilla.novell.com/show_bug.cgi?id=429650 Summary: "osc up -r" doesn't actually do anything Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: maw@novell.com QAContact: adrian@novell.com Found By: --- osc up -r supposedly reverts to an older revision of a package. It doesn't. I'm running osc out of svn, r5147. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=ef4959f4ce68d66446c0750026184222 At revision 0642b95c1f700823d1735ec54403ae94. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=10 At revision 0642b95c1f700823d1735ec54403ae94. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=9 At revision 0642b95c1f700823d1735ec54403ae94. You have new mail. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=8 At revision 0642b95c1f700823d1735ec54403ae94. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=8 At revision 0642b95c1f700823d1735ec54403ae94. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=7 At revision 0642b95c1f700823d1735ec54403ae94. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % osc up --revision=2 At revision 0642b95c1f700823d1735ec54403ae94. maw@builder:/builds/home:maw:branches:GNOME:Factory/gtk2 % -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=429650
User maw@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c1
Michael Wolf
https://bugzilla.novell.com/show_bug.cgi?id=429650
Adrian Schröter
https://bugzilla.novell.com/show_bug.cgi?id=429650
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c2
--- Comment #2 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=429650
User maw@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c3
--- Comment #3 from Michael Wolf
You are operating on an expanded link I guess?
If I check 'osc log', there are the revisions that it has had in the past.
% osc up -r 80ff25a822d74b157efca3678af62f82 At revision 0642b95c1f700823d1735ec54403ae94.
It doesn't seem to work indeed. osc ignores the revision option for expanded links, which looks like a bug.
I'm not sure about the expected result though, and if this can work. Whey I try it, I always get an unexpanded link after updating to some revision, but that may be due to the fact that the source md5 (that I see in osc log) is not the expanded source md5...
The expected result was is to get an older revision of the package. (I'm not sure if that's what you're asking, though.) As a workaround, is switching to unexpanded mode, time-travelling to an older rev, and then switching back to expanded mode likely to work? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=429650
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=429650
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c4
--- Comment #4 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=429650
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c5
--- Comment #5 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=429650
Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=429650
User maw@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c6
--- Comment #6 from Michael Wolf
Created an attachment (id=243145) --> (https://bugzilla.novell.com/attachment.cgi?id=243145) [details] a patch with that I have toying around, which fixes the ignorance of osc against -r at least
I added this patch to my private git/svn repo that I run out of; I'll let you know how it goes. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=429650
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c7
--- Comment #7 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=429650
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=429650#c8
Peter Poeml
participants (1)
-
bugzilla_noreply@novell.com