1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-19 00:32:12 +01:00
Jimmy Berry 6a3976dc22 osc/core: parseRevisionOption(): cleanup and make logic consistent.
Handle multiple revisions the same as a single revision in terms of what
is allowed (digit, or 32 character string [md5]). Additionally, support
either blank or "latest" to mean latest revision (None).

This allows for new revision to be specified without old revision like the
following example:

osc rdiff ... -r :17
2019-08-26 16:08:04 -05:00
..
2009-12-03 19:19:53 +01:00
2014-08-12 15:01:16 +02:00
2018-11-06 10:35:38 +01:00