1
0
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:
Adrian Schröter 2009-04-22 11:37:40 +00:00
parent b7e491d7bd
commit 0c3d982ecc
2 changed files with 4 additions and 0 deletions

1
NEWS
View File

@ -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"

View File

@ -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))