Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
Re: [opensuse-buildservice] osc rdiff (was Re: Novell ID's for OSC Plugins)
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 29 Nov 2007 17:39:21 +0100
  • Message-id: <200711291739.22043.adrian@xxxxxxx>
On Thursday 29 November 2007 17:21:43 wrote Dr. Peter Poeml:
On Thu, Nov 29, 2007 at 01:33:47PM +0100, Adrian Schröter wrote:

...

an equivalent for cvs rdiff would work without any checked out sources,
just

osc rdiff <TO_PROJECT> <TO_PACKAGE> [--package <FROM_PACKAGE>]
[--project <FROM_PROJECT>]

It'd also need options for revision and orevision.

How about

osc rdiff [-rN[:M]] [[--oldprj OLD_PROJECT] --oldpkg OLD_PACKAGE]]
NEW_PROJECT NEW_PACKAGE

looks even better to me :)

One should note that the result is a "pretty diff", which goes into tar
balls and is handy for reviews -- not a normal diff which yields an
appliable patch.

hm, maybe even default to "--project openSUSE:Factory" if no argument is
given ...

Maybe a good idea...

Peter



--

Adrian Schroeter
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
email: adrian@xxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups