Mailinglist Archive: opensuse-buildservice (275 mails)

< Previous Next >
[opensuse-buildservice] Re: [PATCH] - do_update: use "rev" instead of "lsrcmd5" when running "osc up -u"
On Tue, Mar 27, 2012 at 06:07:40PM +0200, OBS osc wrote:
From: Marcus Huewe <suse-tux@xxxxxx>

---
osc/commandline.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/osc/commandline.py b/osc/commandline.py
index cf277df..59ce30a 100644
--- a/osc/commandline.py
+++ b/osc/commandline.py
@@ -4048,7 +4048,8 @@ Please submit there instead, or use --nodevelproject to
force direct submission.
elif opts.unexpand_link and p.islink() and p.isexpanded():
print 'Unexpanding to rev', p.linkinfo.lsrcmd5
p.update(rev, opts.server_side_source_service_files,
opts.limit_size)
- rev = p.linkinfo.lsrcmd5
+ # XXX: calling update again is redundant (see below)
+ rev = p.rev

Are you sure that there p.rev really is different from p.srcmd5?

M.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >