mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56:13 +01:00
use "latest" revision on checkout, not "upload" (#441783)
This commit is contained in:
parent
b7e491d7bd
commit
0c3d982ecc
1
NEWS
1
NEWS
@ -6,6 +6,7 @@
|
||||
- new vc command for editing the changes files (requires build.rpm 2009.04.17 or newest)
|
||||
- new repairlink command for repairing a broken source link (requires server version 1.6)
|
||||
- '-b|--brief' option for osc submitreq show subcommand
|
||||
- use "latest" revision on checkout, not "upload" (#441783)
|
||||
|
||||
0.116:
|
||||
- support listings of older revisions with "osc ls -R"
|
||||
|
@ -2415,6 +2415,9 @@ def checkout_package(apiurl, project, package,
|
||||
if not prj_dir:
|
||||
prj_dir = olddir
|
||||
|
||||
if not revision:
|
||||
revision = "latest"
|
||||
|
||||
if not pathname:
|
||||
pathname = getTransActPath(os.path.join(prj_dir, package))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user